| ... | @@ -1833,7 +1833,13 @@ fn buildOutputType( | ... | @@ -1833,7 +1833,13 @@ fn buildOutputType( |
| 1833 | }); | 1833 | }); |
| 1834 | } else { | 1834 | } else { |
| 1835 | for (test_exec_args.items) |arg| { | 1835 | for (test_exec_args.items) |arg| { |
| 1836 | try argv.append(arg orelse exe_path); | 1836 | if (arg) |a| { |
| | 1837 | try argv.append(a); |
| | 1838 | } else { |
| | 1839 | try argv.appendSlice(&[_][]const u8{ |
| | 1840 | exe_path, self_exe_path, |
| | 1841 | }); |
| | 1842 | } |
| 1837 | } | 1843 | } |
| 1838 | } | 1844 | } |
| 1839 | if (runtime_args_start) |i| { | 1845 | if (runtime_args_start) |i| { |