Skip to content

Commit 7c51ff9

Browse files
committed
Give mktemp a template in test runner scripts
Some mktemp implementations (e.g., on OS X) don't support mktemp without arguments. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
1 parent 4ab28db commit 7c51ff9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/runners/run-test-suite.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ tested=1
7676
failed=0
7777
passed=0
7878

79-
ENGINE_TEMP=`mktemp`
79+
ENGINE_TEMP=`mktemp engine-out.XXXXXXXXXX`
8080

8181
for test in `cat $TEST_FILES`
8282
do

tools/runners/run-unittests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tested=1
3838
failed=0
3939
passed=0
4040

41-
UNITTEST_TEMP=`mktemp`
41+
UNITTEST_TEMP=`mktemp unittest-out.XXXXXXXXXX`
4242

4343
for unit_test in $UNITTESTS
4444
do

0 commit comments

Comments
 (0)