mirror of
https://github.com/ganelson/inform.git
synced 2024-07-02 23:14:57 +03:00
Fixes to test scripts
This commit is contained in:
parent
595a4f1ac5
commit
0610700d54
|
@ -1,9 +1,12 @@
|
||||||
-cases indoc/Tests/Targets
|
-cases indoc/Tests/Targets
|
||||||
|
|
||||||
-recipe
|
-recipe
|
||||||
|
mkdir: indoc/Tests/Targets
|
||||||
|
|
||||||
set: $I = indoc/Tests/Targets/$CASE-Ideal
|
set: $I = indoc/Tests/Targets/$CASE-Ideal
|
||||||
set: $A = indoc/Tests/Targets/$CASE-Actual
|
set: $A = indoc/Tests/Targets/$CASE-Actual
|
||||||
|
mkdir: $I
|
||||||
|
mkdir: $A
|
||||||
|
|
||||||
step: rm -f $A/.DS_Store
|
step: rm -f $A/.DS_Store
|
||||||
|
|
||||||
|
|
|
@ -65,6 +65,9 @@
|
||||||
mkdir: $WORK/Transient
|
mkdir: $WORK/Transient
|
||||||
step: find $WORK/Transient -mindepth 1 -delete
|
step: find $WORK/Transient -mindepth 1 -delete
|
||||||
|
|
||||||
|
mkdir: $PATH/_Results_Actual
|
||||||
|
mkdir: $PATH/_Results_Ideal
|
||||||
|
|
||||||
if: $CASE PM_Map%c*
|
if: $CASE PM_Map%c*
|
||||||
set: $I7OPTIONS = -format=$FORMAT -noprogress -fixtime -rng -sigils -clock -log nothing -external inform7/Tests -transient $WORK/Transient -internal $INTERNAL
|
set: $I7OPTIONS = -format=$FORMAT -noprogress -fixtime -rng -sigils -clock -log nothing -external inform7/Tests -transient $WORK/Transient -internal $INTERNAL
|
||||||
else
|
else
|
||||||
|
@ -159,6 +162,8 @@
|
||||||
|
|
||||||
mkdir: $WORK/Transient
|
mkdir: $WORK/Transient
|
||||||
step: find $WORK/Transient -mindepth 1 -delete
|
step: find $WORK/Transient -mindepth 1 -delete
|
||||||
|
mkdir: $PATH/_Indices_Actual
|
||||||
|
mkdir: $PATH/_Indices_Ideal
|
||||||
|
|
||||||
step: $I7 `$I7OPTIONS -project $WORK/Example.inform >$I7CONSOLE 2>&1
|
step: $I7 `$I7OPTIONS -project $WORK/Example.inform >$I7CONSOLE 2>&1
|
||||||
or: 'failed with Problem message(s)' $I7CONSOLE
|
or: 'failed with Problem message(s)' $I7CONSOLE
|
||||||
|
@ -246,6 +251,8 @@
|
||||||
|
|
||||||
mkdir: $WORK/Transient
|
mkdir: $WORK/Transient
|
||||||
step: find $WORK/Transient -mindepth 1 -delete
|
step: find $WORK/Transient -mindepth 1 -delete
|
||||||
|
mkdir: $PATH/_Maps_Actual
|
||||||
|
mkdir: $PATH/_Maps_Ideal
|
||||||
|
|
||||||
set: $I7OPTIONS = -format=ulx -noprogress -rng -sigils -clock -log nothing -external inform7/Tests -transient $WORK/Transient -internal $INTERNAL
|
set: $I7OPTIONS = -format=ulx -noprogress -rng -sigils -clock -log nothing -external inform7/Tests -transient $WORK/Transient -internal $INTERNAL
|
||||||
set: $I7CONSOLE = $WORK/Example.inform/Build/i7_output.txt
|
set: $I7CONSOLE = $WORK/Example.inform/Build/i7_output.txt
|
||||||
|
@ -293,6 +300,11 @@
|
||||||
set: $FORMAT = z8
|
set: $FORMAT = z8
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
mkdir: $PATH/_Inter_Binary
|
||||||
|
mkdir: $PATH/_Inter_Textual
|
||||||
|
mkdir: $PATH/_Inter_Actual
|
||||||
|
mkdir: $PATH/_Inter_Ideal
|
||||||
|
|
||||||
! Now we extract the source text from whatever file originated the test
|
! Now we extract the source text from whatever file originated the test
|
||||||
! case: this is a non-trivial operation when the file is an Extension or
|
! case: this is a non-trivial operation when the file is an Extension or
|
||||||
! an example, but is a simple copy operation otherwise.
|
! an example, but is a simple copy operation otherwise.
|
||||||
|
|
Loading…
Reference in a new issue