X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Fautotest.py;h=b9fd6b6f5b214fc90720465ee61a84e42aaf1f3a;hb=7a7122edf1c8d63e516d1b2c2eff6fa9b54e0f82;hp=f7056a39294cfc2fe8aeb38f5ae59905c8a688b0;hpb=3031749c2df04a63cdcef186dcce3781e61436e8;p=dpdk.git diff --git a/app/test/autotest.py b/app/test/autotest.py index f7056a3929..b9fd6b6f5b 100644 --- a/app/test/autotest.py +++ b/app/test/autotest.py @@ -60,13 +60,7 @@ if len(sys.argv) > 3: else: test_whitelist = testlist -# adjust test command line -if "baremetal" in target: - cmdline = "qemu-system-x86_64 -cdrom %s.iso -boot d " % (sys.argv[1]) - cmdline += "-m 2000 -smp 4 -nographic -net nic,model=e1000" - platform = "QEMU x86_64" -else: - cmdline = "%s -c f -n 4"%(sys.argv[1]) +cmdline = "%s -c f -n 4"%(sys.argv[1]) print cmdline @@ -78,5 +72,6 @@ for test_group in autotest_data.parallel_test_group_list: for test_group in autotest_data.non_parallel_test_group_list: runner.add_non_parallel_test_group(test_group) -runner.run_all_tests() +num_fails = runner.run_all_tests() +sys.exit(num_fails)