summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-04-22 14:02:08 +0000
committerChris Wilson <chris+github@qwirx.com>2007-04-22 14:02:08 +0000
commit20331e780ae21430dd3e9f9edc684cf6a94d481b (patch)
treeb03c895dffde4007b1faf8b9f685c1796072989a
parentc46531bae61f86f8404d6a161fccfdc0b441f574 (diff)
Pass all arguments from test scripts to test executable with proper
quoting (refs #3)
-rwxr-xr-xinfrastructure/makebuildenv.pl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/infrastructure/makebuildenv.pl.in b/infrastructure/makebuildenv.pl.in
index 9d641d78..04bce787 100755
--- a/infrastructure/makebuildenv.pl.in
+++ b/infrastructure/makebuildenv.pl.in
@@ -445,9 +445,9 @@ __E
}
writetestfile("$mod/_t", "GLIBCXX_FORCE_NEW=1 ".
- './test' . $platform_exe_ext . ' $1 $2 $3 $4 $5', $mod);
+ './test' . $platform_exe_ext . ' "$@"', $mod);
writetestfile("$mod/_t-gdb", "GLIBCXX_FORCE_NEW=1 ".
- 'gdb ./test' . $platform_exe_ext . ' $*', $mod);
+ 'gdb ./test' . $platform_exe_ext . ' "$@"', $mod);
}