tests: fix TEST= filtering for python3 59/23059/2
authorKlement Sekera <ksekera@cisco.com>
Tue, 29 Oct 2019 11:03:47 +0000 (11:03 +0000)
committerKlement Sekera <ksekera@cisco.com>
Tue, 29 Oct 2019 11:26:45 +0000 (11:26 +0000)
Type: fix

Change-Id: Iceb60e8a507120434cfc68758476ff5351b05f58
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/run_tests.py

index b6c178f..a34cf48 100644 (file)
@@ -822,7 +822,7 @@ if __name__ == '__main__':
         # don't fork if requiring interactive terminal
         print('Running tests in foreground in the current process')
         full_suite = unittest.TestSuite()
-        map(full_suite.addTests, suites)
+        full_suite.addTests(suites)
         result = VppTestRunner(verbosity=verbose,
                                failfast=failfast,
                                print_summary=True).run(full_suite)