[Pdbg] [PATCH] tests: Fix parallel tests
Joel Stanley
joel at jms.id.au
Wed Apr 6 00:00:11 AEST 2022
CI was failing when running the tests with -j2:
-- traverse tests for fake.dts
FAIL: libpdbg_attr_test / read ATTR1 array 1 1
Ensure each test has it's own dtb to operate on.
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
tests/test_attr_array.sh | 2 +-
tests/test_attr_packed.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/test_attr_array.sh b/tests/test_attr_array.sh
index 768e22d5b63f..1850cead5fff 100755
--- a/tests/test_attr_array.sh
+++ b/tests/test_attr_array.sh
@@ -3,7 +3,7 @@
. $(dirname "$0")/driver.sh
FAKE_DTB=fake.dtb
-TEST_DTB=fake-attr.dtb
+TEST_DTB=fake-attr-array.dtb
export PDBG_DTB=$TEST_DTB
diff --git a/tests/test_attr_packed.sh b/tests/test_attr_packed.sh
index 451669b071b2..9b1558417ce6 100755
--- a/tests/test_attr_packed.sh
+++ b/tests/test_attr_packed.sh
@@ -3,7 +3,7 @@
. $(dirname "$0")/driver.sh
FAKE_DTB=fake.dtb
-TEST_DTB=fake-attr.dtb
+TEST_DTB=fake-attr-packed.dtb
export PDBG_DTB=$TEST_DTB
--
2.35.1
More information about the Pdbg
mailing list