test: fix autotest list
authorRami Rosen <ramirose@gmail.com>
Mon, 11 Feb 2019 18:38:59 +0000 (20:38 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 12 Feb 2019 11:26:48 +0000 (12:26 +0100)
This patch fixes a broken build; when running
make test
we get the following error:
...
Traceback (most recent call last):
  File "test/test/autotest.py", line 49, in <module>
    num_fails = runner.run_all_tests()
  File "test/test/autotest_runner.py", line 345, in run_all_tests
    self.parallel_tests)
  File "test/test/autotest_runner.py", line 264, in __filter_test
    test_cmd = test["Command"]
KeyError: 'Command'
...
The reason is that the pdump autotest entry uses "Comamnd"
instead of "Command"; this patch fixes it.

Bugzilla ID: 205
Fixes: 086eb64db39e ("test/pdump: add unit test for pdump library")
Cc: stable@dpdk.org
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
test/test/autotest_data.py

index 948a625..5f87bb9 100644 (file)
@@ -508,7 +508,7 @@ parallel_test_list = [
     },
     {
         "Name":    "Pdump autotest",
     },
     {
         "Name":    "Pdump autotest",
-        "Comamnd": "pdump_autotest",
+        "Command": "pdump_autotest",
         "Func":    default_autotest,
         "Report":  None,
     },
         "Func":    default_autotest,
         "Report":  None,
     },