diff --git a/boxes/utils.sh b/boxes/utils.sh index dfd0518..6c84457 100644 --- a/boxes/utils.sh +++ b/boxes/utils.sh @@ -15,7 +15,7 @@ clean_box() { } extract_deb() { - repo="http://ftp.debian.org/debian/pool/main" + repo="http://archive.debian.org/debian/pool/main" path="$1" dpkg=`basename "$path"` diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6ff71ce..a0a549e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -4,7 +4,7 @@ ADD_TEST( NAME python COMMAND - bash -c "SIO2JAIL_BUILD_PATH='${CMAKE_BINARY_DIR}' '${CMAKE_SOURCE_DIR}/test/testsuits/main.py' -v" + bash -c "SIO2JAIL_BUILD_PATH='${CMAKE_BINARY_DIR}' python3 -m unittest discover -s '${CMAKE_SOURCE_DIR}/test/testsuits/' -v" WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" ) diff --git a/test/testsuits/main.py b/test/testsuits/main.py deleted file mode 100755 index 70d2725..0000000 --- a/test/testsuits/main.py +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env python3 - -import nose - -nose.main()