Skip to content

Commit 8cd265c

Browse files
authored
Merge pull request #1698 from stepancheg/move-rm-rf-build
Move rm -rf to the beginning of the test
2 parents 5cb77ad + 9f61e54 commit 8cd265c

File tree

463 files changed

+926
-463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

463 files changed

+926
-463
lines changed

tests/allbackends/basic048/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
rm -rf build
2+
13
$1 --no-banner --no-color --console-width 0 "Module'.idr" < input
24
$1 --exec main "Module'.idr"
35
EDITOR=true $1 --no-banner --no-color --console-width 0 "Module'.idr" < input-ed
46

5-
rm -rf build

tests/allbackends/evaluator004/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
rm -rf build
2+
13
$1 --no-banner --no-color --console-width 0 Issue735.idr < input
24
$1 --exec main Issue735.idr
35

4-
rm -rf build

tests/allbackends/evaluator005/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
rm -rf build
2+
13
$1 --exec main Issue1200.idr
24

3-
rm -rf build

tests/allbackends/perf006/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
rm -rf build
2+
13
$1 --exec main Issue775.idr
24

3-
rm -rf build

tests/base/control_app001/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
rm -rf build
2+
13
$1 --no-color --console-width 0 --no-banner TestException.idr < input
24

3-
rm -rf build

tests/base/data_bits001/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
rm -rf build
2+
13
$1 --no-banner --no-color --console-width 0 BitOps.idr < input
24

3-
rm -rf build

tests/base/system_errno/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
rm -rf build
2+
13
$1 --no-banner --no-color --console-width 0 Test.idr < input
24

3-
rm -rf build

tests/base/system_file001/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
rm -rf build
2+
13
# @readFilePage@ uses primitive functions with definitions for both
24
# C (supported by most backends) and Node.
35
$1 --cg chez --no-color --console-width 0 --no-banner ReadFilePage.idr < input
@@ -12,4 +14,3 @@ $1 --cg node --no-color --console-width 0 --no-banner ReadFilePage.idr < input
1214
# GAMBIT hung seemingly indefinitely
1315
# $1 --cg gambit --no-color --console-width 0 --no-banner ReadFilePage.idr < input
1416

15-
rm -rf build

tests/base/system_info001/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
rm -rf build
2+
13
rm -f expected
24

35
if ! NProcs=$(nproc || sysctl -n hw.ncpu) 2>/dev/null; then
@@ -9,4 +11,3 @@ echo "$NProcs processors" > expected
911

1012
$1 --no-banner --no-color --console-width 0 NumProcessors.idr --exec main
1113

12-
rm -rf build

tests/base/system_info_os001/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
rm -rf build
2+
13
case "$(uname)" in
24
Linux*) EXPECTED_OS=unix ;;
35
Darwin*) EXPECTED_OS=darwin ;;
@@ -9,4 +11,3 @@ export EXPECTED_OS
911

1012
$1 --no-banner --no-color --console-width 0 Os.idr --exec main
1113

12-
rm -rf build

0 commit comments

Comments
 (0)