From 57d5afe0ff6623d63f014d277246b14a1f12f62c Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 6 Oct 2024 16:10:04 +0200 Subject: Testsuite: T6494: add new make target "test-interfaces" We can not run the interface related tests, and non interface related testcases in parallel to speedup the entire build process. --- scripts/check-qemu-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/check-qemu-install') diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index 21084655..8d65f8b2 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -760,7 +760,7 @@ try: if args.match: # Remove tests that we don't want to run match_str = '-o '.join([f'-name "test_*{name}*.py" ' for name in args.match.split("|")]).strip() - c.sendline(f'sudo find /usr/libexec/vyos/tests/smoke/cli/test_* -type f ! \( {match_str} \) -delete') + c.sendline(f'sudo find /usr/libexec/vyos/tests/smoke -maxdepth 2 -type f -name test_* ! \( {match_str} \) -delete') c.expect(op_mode_prompt) if args.no_interfaces: # remove interface tests as they consume a lot of time -- cgit v1.2.3