Skip to contentSkip to conversation

dma-heap-tests: add tests for DMA-Heap framework

PATCH In review Andrew F. Davis 2 participants 3 messages Mar 5, 2020 – Mar 6, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dma-heap-tests: add tests for DMA-Heap framework

Add some tests for the DMA-Heap framework. Based on ion-tests.

---
 .../recipes-devtools/dma-heap/dma-heap-tests.bb  | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb
meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb new file +16 -0
new file mode 100644
index 00000000..9693fe64
@@ -0,0 +1,16 @@
+SUMMARY = "Test cases for DMA-Heap framework"
+HOMEPAGE = "https://github.com/glneo/dma-heap-tests"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://src/heap_test_fixture.cpp;beginline=1;endline=15;md5=d16465a9e7dc8f53bfdf997c4bf55540"
+
+PV = "1.0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glneo/dma-heap-tests.git;protocol=git;branch=${BRANCH}"
+SRCREV = "bccbfbf24baccefa09439a924f61f04e82b3910a"
+
+DEPENDS = "googletest"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
Signature · 1 line
2.17.1
#1 lore raw
Quoted 16 lines · Andrew F. Davis

Add some tests for the DMA-Heap framework. Based on ion-tests.

---
 .../recipes-devtools/dma-heap/dma-heap-tests.bb  | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb
meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb new file +2 -0
new file mode 100644
index 00000000..9693fe64
@@ -0,0 +1,16 @@
+SUMMARY = "Test cases for DMA-Heap framework"
+HOMEPAGE = "https://github.com/glneo/dma-heap-tests"

meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb line 12

Quoted 10 lines
meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb new file +10 -0
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://src/heap_test_fixture.cpp;beginline=1;endline=15;md5=d16465a9e7dc8f53bfdf997c4bf55540"
+
+PV = "1.0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glneo/dma-heap-tests.git;protocol=git;branch=${BRANCH}"
+SRCREV = "bccbfbf24baccefa09439a924f61f04e82b3910a"
+
+DEPENDS = "googletest"

Ah, right, almost missed that gtest got renamed to googletest.

Since this is based on ion-tests, do you want to place it in "ion" folder or keep it in its own?

Quoted 6 lines
meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb new file +3 -0
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
Signature · 1 line
2.17.1
#2 lore raw
Quoted 30 lines · Denys Dmytriyenko
Quoted 16 lines · Andrew F. Davis

Add some tests for the DMA-Heap framework. Based on ion-tests.

---
 .../recipes-devtools/dma-heap/dma-heap-tests.bb  | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb
meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb new file +2 -0
new file mode 100644
index 00000000..9693fe64
@@ -0,0 +1,16 @@
+SUMMARY = "Test cases for DMA-Heap framework"
+HOMEPAGE = "https://github.com/glneo/dma-heap-tests"

meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb line 12

Quoted 10 lines
meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb new file +10 -0
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://src/heap_test_fixture.cpp;beginline=1;endline=15;md5=d16465a9e7dc8f53bfdf997c4bf55540"
+
+PV = "1.0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glneo/dma-heap-tests.git;protocol=git;branch=${BRANCH}"
+SRCREV = "bccbfbf24baccefa09439a924f61f04e82b3910a"
+
+DEPENDS = "googletest"

Ah, right, almost missed that gtest got renamed to googletest.

Quoted 3 lines

Since this is based on ion-tests, do you want to place it in "ion" folder or keep it in its own?

Based on, but not the same, DMA-Heaps is different than Ion. Ion is on the way out, it should probably get removed from the kernel here soon when we are sure all of its functionality is matched by DMA-Heaps. After that the "ion" naming should get dropped from our vocabulary so as not to confuse them anymore. Lets go with separate folders.

Andrew

Quoted 7 lines
Quoted 7 lines
meta-arago-extras/recipes-devtools/dma-heap/dma-heap-tests.bb new file +3 -0
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
Signature · 1 line
2.17.1