From 7cab4347469e7b46b06c1a8df09a62ec361298b8 Mon Sep 17 00:00:00 2001 From: neoblizz Date: Thu, 11 May 2017 08:30:04 -0700 Subject: [PATCH] Fixing the regex expression bug, changed FAIL_REGULAR_EXPRESSION condition. --- CMakeLists.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 84d568c2d..1d1fdfef8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -325,27 +325,27 @@ enable_testing() ### primitive tests with bips98_606 graph add_test(NAME TEST_BFS COMMAND bfs market ${gunrock_INCLUDE_DIRS}/simple_example/bips98_606.mtx --undirected --src=0) -set_tests_properties(TEST_BFS PROPERTIES PASS_REGULAR_EXPRESSION "CORRECT") +set_tests_properties(TEST_BFS PROPERTIES FAIL_REGULAR_EXPRESSION "INCORRECT") add_test(NAME TEST_BC COMMAND bc market ${gunrock_INCLUDE_DIRS}/simple_example/bips98_606.mtx --undirected --src=0) -set_tests_properties(TEST_BC PROPERTIES PASS_REGULAR_EXPRESSION "CORRECT") +set_tests_properties(TEST_BC PROPERTIES FAIL_REGULAR_EXPRESSION "INCORRECT") add_test(NAME TEST_CC COMMAND cc market ${gunrock_INCLUDE_DIRS}/simple_example/bips98_606.mtx) -set_tests_properties(TEST_CC PROPERTIES PASS_REGULAR_EXPRESSION "CORRECT") +set_tests_properties(TEST_CC PROPERTIES FAIL_REGULAR_EXPRESSION "INCORRECT") add_test(NAME TEST_SSSP COMMAND sssp market ${gunrock_INCLUDE_DIRS}/dataset/small/chesapeake.mtx --undirected --src=0) -set_tests_properties(TEST_SSSP PROPERTIES PASS_REGULAR_EXPRESSION "CORRECT") +set_tests_properties(TEST_SSSP PROPERTIES FAIL_REGULAR_EXPRESSION "INCORRECT") add_test(NAME TEST_PAGERANK COMMAND pr market ${gunrock_INCLUDE_DIRS}/simple_example/bips98_606.mtx --undirected) -set_tests_properties(TEST_PAGERANK PROPERTIES PASS_REGULAR_EXPRESSION "CORRECT") +set_tests_properties(TEST_PAGERANK PROPERTIES FAIL_REGULAR_EXPRESSION "INCORRECT") add_test(NAME TEST_TOPK COMMAND topk market ${gunrock_INCLUDE_DIRS}/simple_example/bips98_606.mtx --undirected) -set_tests_properties(TEST_TOPK PROPERTIES PASS_REGULAR_EXPRESSION "CORRECT") +set_tests_properties(TEST_TOPK PROPERTIES FAIL_REGULAR_EXPRESSION "INCORRECT") ### shared library application interface tests add_test(NAME SHARED_LIB_TEST_BFS COMMAND shared_lib_bfs) @@ -391,7 +391,7 @@ if(GUNROCK_MGPU_TESTS) add_test(NAME TEST_MGPU_BFS COMMAND bfs market ${gunrock_INCLUDE_DIRS}/simple_example/bips98_606.mtx ${DEVICES} --undirected --src=0) - set_tests_properties(TEST_BFS PROPERTIES PASS_REGULAR_EXPRESSION "CORRECT") + set_tests_properties(TEST_BFS PROPERTIES FAIL_REGULAR_EXPRESSION "INCORRECT") # add_test(NAME TEST_MGPU_BC COMMAND bc market # ${gunrock_INCLUDE_DIRS}/simple_example/bips98_606.mtx ${DEVICES} --undirected --src=0) @@ -399,15 +399,15 @@ if(GUNROCK_MGPU_TESTS) add_test(NAME TEST_MGPU_CC COMMAND cc market ${gunrock_INCLUDE_DIRS}/simple_example/bips98_606.mtx ${DEVICES}) - set_tests_properties(TEST_CC PROPERTIES PASS_REGULAR_EXPRESSION "CORRECT") + set_tests_properties(TEST_CC PROPERTIES FAIL_REGULAR_EXPRESSION "INCORRECT") add_test(NAME TEST_MGPU_SSSP COMMAND sssp market ${gunrock_INCLUDE_DIRS}/dataset/small/chesapeake.mtx ${DEVICES} --undirected --src=0) - set_tests_properties(TEST_SSSP PROPERTIES PASS_REGULAR_EXPRESSION "CORRECT") + set_tests_properties(TEST_SSSP PROPERTIES FAIL_REGULAR_EXPRESSION "INCORRECT") add_test(NAME TEST_MGPU_PR COMMAND pr market ${gunrock_INCLUDE_DIRS}/simple_example/bips98_606.mtx ${DEVICES} --undirected) - set_tests_properties(TEST_PAGERANK PROPERTIES PASS_REGULAR_EXPRESSION "CORRECT") + set_tests_properties(TEST_PAGERANK PROPERTIES FAIL_REGULAR_EXPRESSION "INCORRECT") # add_test(NAME TEST_MGPU_TOPK COMMAND topk market # ${gunrock_INCLUDE_DIRS}/simple_example/bips98_606.mtx ${DEVICES} --undirected)