From f78a68735adfd4d3961343d19c598d4ebb33fbf1 Mon Sep 17 00:00:00 2001 From: "A.J. Beamon" Date: Tue, 31 Aug 2021 15:06:13 -0700 Subject: [PATCH 1/2] Add a specific unit test file for use by tooling. --- tests/rare/SpecificUnitTests.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/rare/SpecificUnitTests.toml diff --git a/tests/rare/SpecificUnitTests.toml b/tests/rare/SpecificUnitTests.toml new file mode 100644 index 0000000000..34d08076c0 --- /dev/null +++ b/tests/rare/SpecificUnitTests.toml @@ -0,0 +1,10 @@ +# This is modified by scripted testing tools to specify specific unit tests +[[test]] +testTitle = 'UnitTests' +useDB = false +startDelay = 0 + + [[test.workload]] + testName = 'UnitTests' + maxTestCases = 1 + testsMatching = '/' From ee357881b5f5df8efc10c8657d9fb7417caecaf0 Mon Sep 17 00:00:00 2001 From: "A.J. Beamon" Date: Tue, 31 Aug 2021 15:19:52 -0700 Subject: [PATCH 2/2] Add the new test to cmake --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4ee1acf7f5..a07d205c65 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -178,6 +178,7 @@ if(WITH_PYTHON) add_fdb_test(TEST_FILES rare/LargeApiCorrectnessStatus.toml) add_fdb_test(TEST_FILES rare/RYWDisable.toml) add_fdb_test(TEST_FILES rare/RandomReadWriteTest.toml) + add_fdb_test(TEST_FILES rare/SpecificUnitTests.toml) add_fdb_test(TEST_FILES rare/SwizzledLargeApiCorrectness.toml) add_fdb_test(TEST_FILES rare/RedwoodCorrectnessBTree.toml) add_fdb_test(TEST_FILES rare/Throttling.toml)