Skip to content

Commit a0d6b5d

Browse files
committed
Makes testscript pass again
1 parent 6974806 commit a0d6b5d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
compile_commands.json
22
linc/linc
3-
linc/logs
3+
linc.log
44
out-root.build
5+

linc/linc.testscript

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
: will be expanded, and not taken literally.
99
: The != 0 means test will fail if return code is 0
1010
: The $0 will expand to the executable name
11-
$* 2>>"EOE" != 0
11+
$* &linc.log 2>>"EOE" != 0
1212
Usage:
1313
$0 <3d-model> <params> [layer-height \(mm\)]
1414
EOE
1515

1616
: Non-existent-file
1717
: Checks behviour when file doesn't exist
18-
$* 'nonfile' 'params' 2>>EOE != 0
18+
$* 'nonfile' 'params' &linc.log 2>>EOE != 0
1919
Failed to load nonfile
2020
EOE
2121

0 commit comments

Comments
 (0)