Ticket 733: Updated hudsonbuild.sh to run nosetests with new setup jenkins-baltrad-db-414
authorAnders Henja <anders@henjab.se>
Thu, 29 Mar 2018 11:37:36 +0000 (13:37 +0200)
committerAnders Henja <anders@henjab.se>
Thu, 29 Mar 2018 11:37:36 +0000 (13:37 +0200)
misc/hudsonbuild.sh

index d54768b..f5ee49f 100644 (file)
@@ -48,10 +48,7 @@ test_python_package() {
 
   cd $package_dir
   python setup.py -q develop
-  python setup.py nosetests \
-    --first-package-wins \
-    --with-xunit \
-    --xunit-file=$package_dir/test-results.xml
+  python -m nose --first-package-wins --with-xunit --xunit-file=$package_dir/test-results.xml
 }
 
 test_java_client() {