Fix travis build script. Broken in e372d.
authorNikolaus Rath <Nikolaus@rath.org>
Tue, 11 Apr 2017 00:23:28 +0000 (17:23 -0700)
committerNikolaus Rath <Nikolaus@rath.org>
Tue, 11 Apr 2017 00:23:28 +0000 (17:23 -0700)
test/travis-build.sh

index 4d950b5462dbe92527a5f49227e1b47d388cf80d..9d190bf9a1897160280bb67a94c72ca1b727ef22 100755 (executable)
@@ -22,7 +22,7 @@ for CC in gcc gcc-6 clang; do
 
     sudo chown root:root util/fusermount3
     sudo chmod 4755 util/fusermount3
-    TEST_WITH_VALGRIND=true ninja tests
+    TEST_WITH_VALGRIND=true python3 -m pytest test/
     cd ..
 done
 (cd build-$CC; sudo ninja install)
@@ -37,10 +37,10 @@ for san in undefined address; do
     ninja
 
     # Test as root and regular user
-    sudo ninja tests
+    sudo python3 -m pytest test/
     sudo chown root:root util/fusermount3
     sudo chmod 4755 util/fusermount3
-    ninja tests
+    python3 -m pytest test/
     cd ..
 done