mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
t-runner: Remove auto_run param from t-runner
This commit is contained in:
parent
a0cd11e89a
commit
56f42f6df5
@ -62,7 +62,6 @@
|
|||||||
static const char *own_binary;
|
static const char *own_binary;
|
||||||
static char **test_argv;
|
static char **test_argv;
|
||||||
static int test_argc;
|
static int test_argc;
|
||||||
static bool run_auto = true;
|
|
||||||
static bool verbose_out;
|
static bool verbose_out;
|
||||||
static const char *qemu_binary;
|
static const char *qemu_binary;
|
||||||
static const char *kernel_image;
|
static const char *kernel_image;
|
||||||
@ -272,9 +271,9 @@ static void start_qemu(void)
|
|||||||
"rootflags=trans=virtio,version=9p2000.u "
|
"rootflags=trans=virtio,version=9p2000.u "
|
||||||
"acpi=off pci=noacpi noapic quiet ro "
|
"acpi=off pci=noacpi noapic quiet ro "
|
||||||
"mac80211_hwsim.radios=0 "
|
"mac80211_hwsim.radios=0 "
|
||||||
"init=%s TESTHOME=%s TESTAUTO=%u TESTVERBOUT=%u "
|
"init=%s TESTHOME=%s TESTVERBOUT=%u "
|
||||||
"TESTDIRLIST=\'%s\' TESTARGS=\'%s\'", initcmd, cwd,
|
"TESTDIRLIST=\'%s\' TESTARGS=\'%s\'", initcmd, cwd,
|
||||||
run_auto, verbose_out, test_dir_list, testargs);
|
verbose_out, test_dir_list, testargs);
|
||||||
|
|
||||||
argv = alloca(sizeof(qemu_argv));
|
argv = alloca(sizeof(qemu_argv));
|
||||||
memcpy(argv, qemu_argv, sizeof(qemu_argv));
|
memcpy(argv, qemu_argv, sizeof(qemu_argv));
|
||||||
@ -1436,6 +1435,7 @@ static void run_command(char *cmdname)
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
l_info("Automatic test execution requested");
|
||||||
l_info("Searching for the test configurations...");
|
l_info("Searching for the test configurations...");
|
||||||
|
|
||||||
if (!find_test_configuration(test_home_path, 0,
|
if (!find_test_configuration(test_home_path, 0,
|
||||||
@ -1504,12 +1504,6 @@ static void run_tests(void)
|
|||||||
|
|
||||||
*ptr = '\0';
|
*ptr = '\0';
|
||||||
|
|
||||||
ptr = strstr(cmdline, "TESTAUTO=1");
|
|
||||||
if (ptr) {
|
|
||||||
l_info("Automatic test execution requested");
|
|
||||||
run_auto = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
ptr = strstr(cmdline, "TESTVERBOUT=1");
|
ptr = strstr(cmdline, "TESTVERBOUT=1");
|
||||||
if (ptr) {
|
if (ptr) {
|
||||||
l_info("Enable verbose output");
|
l_info("Enable verbose output");
|
||||||
|
Loading…
Reference in New Issue
Block a user