Skip to content

Commit a4197ea

Browse files
committed
Use unittest for running tests
Switch to unittest as nose has been depracated for a while and it's not really used here, unittest is more than enough.
1 parent dbdf89d commit a4197ea

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

test/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ADD_TEST(
44
NAME
55
python
66
COMMAND
7-
bash -c "SIO2JAIL_BUILD_PATH='${CMAKE_BINARY_DIR}' '${CMAKE_SOURCE_DIR}/test/testsuits/main.py' -v"
7+
bash -c "SIO2JAIL_BUILD_PATH='${CMAKE_BINARY_DIR}' python3 -m unittest discover -s '${CMAKE_SOURCE_DIR}/test/testsuits/' -v"
88
WORKING_DIRECTORY
99
"${CMAKE_SOURCE_DIR}"
1010
)

test/testsuits/main.py

-5
This file was deleted.

0 commit comments

Comments
 (0)