Skip to contentSkip to conversation

test: enable bitmap in fast tests

PATCH In review David Marchand 2 participants 3 messages Oct 27, 2021 – Nov 10, 2021 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test: enable bitmap in fast tests

This test was never added to the list of tests to run in CI. Its name does not follow the implicit convention of ending with _autotest.
Let's fix this.

Fixes 5e9647fd5a1a ("test/bitmap: test scan after half cacheline is cleared")
---
 app/test/meson.build   | 1 +
 app/test/test_bitmap.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
app/test/meson.build +1 -0
index 71fce2efda..510584010a 100644
@@ -198,6 +198,7 @@ test_deps = [
 fast_tests = [
         ['acl_autotest', true],
         ['atomic_autotest', false],
+        ['bitmap_autotest', true],
         ['bpf_autotest', true],
         ['bpf_convert_autotest', true],
         ['bitops_autotest', true],
app/test/test_bitmap.c +1 -1
index 70d8fffb5a..e9c61590ae 100644
@@ -269,4 +269,4 @@ test_bitmap(void)
 	return test_bitmap_all_set();
 }
 
-REGISTER_TEST_COMMAND(bitmap_test, test_bitmap);
+REGISTER_TEST_COMMAND(bitmap_autotest, test_bitmap);
Signature · 1 line
2.23.0
Acked-by on v1 1/1
#1 lore raw
Quoted 47 lines

-----Original Message-----
From: David Marchand <[email protected]>
Sent: Wednesday, October 27, 2021 3:06 PM
To: [email protected]
Cc: [email protected]; Dumitrescu, Cristian <[email protected]>; Nithin Dabilpuram <[email protected]>
Subject: [PATCH] test: enable bitmap in fast tests

This test was never added to the list of tests to run in CI. Its name does not follow the implicit convention of ending with _autotest.
Let's fix this.

Fixes 5e9647fd5a1a ("test/bitmap: test scan after half cacheline is cleared")
---
 app/test/meson.build   | 1 +
 app/test/test_bitmap.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
app/test/meson.build +1 -0
index 71fce2efda..510584010a 100644
@@ -198,6 +198,7 @@ test_deps = [
 fast_tests = [
         ['acl_autotest', true],
         ['atomic_autotest', false],
+        ['bitmap_autotest', true],
         ['bpf_autotest', true],
         ['bpf_convert_autotest', true],
         ['bitops_autotest', true],
app/test/test_bitmap.c +1 -2
index 70d8fffb5a..e9c61590ae 100644
@@ -269,4 +269,4 @@ test_bitmap(void)
 	return test_bitmap_all_set();
 }
 
-REGISTER_TEST_COMMAND(bitmap_test, test_bitmap);
+REGISTER_TEST_COMMAND(bitmap_autotest, test_bitmap);
--
Quoted 1 line

2.23.0