-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…st 12 -> 200 to run last
- Loading branch information
Showing
36 changed files
with
147 additions
and
147 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/12_errors.sh | ||
@ Only use @reached_if in @goal: | ||
@ tests/12_errors.sh:2: @reached_if true | ||
@ Only use @depends_on in @goal: | ||
@ tests/12_errors.sh:3: @depends_on g1 | ||
@ Only use @doc in @goal: | ||
@ tests/12_errors.sh:4: @doc Doc in prelude | ||
@ Option 'unsupported' is not supported: | ||
@ tests/12_errors.sh:5: @options unsupported | ||
@ Shell 'unsupported' is not supported: | ||
@ tests/12_errors.sh:6: @shell unsupported | ||
@ Only use @use_lib in @goal: | ||
@ tests/12_errors.sh:7: @use_lib lib1 | ||
@ Goal must have a name: | ||
@ tests/12_errors.sh:9: @goal | ||
@ Goal 'g1' is already defined: | ||
@ tests/12_errors.sh:15: @goal g1 | ||
@ Multiple @reached_if not allowed for a goal: | ||
@ tests/12_errors.sh:17: @reached_if false | ||
@ Only use @shell in prelude: | ||
@ tests/12_errors.sh:22: @shell sh | ||
@ Only use @define in prelude: | ||
@ tests/12_errors.sh:23: @define A=1 | ||
@ Multiple @doc not allowed for a goal: | ||
@ tests/12_errors.sh:28: @doc doc2 | ||
@ Only use @options in prelude: | ||
@ tests/12_errors.sh:29: @options timing | ||
@ Unknown directive: @unknown_directive: | ||
@ tests/12_errors.sh:30: @unknown_directive arg | ||
@ You can only use one @lib in a @goal: | ||
@ tests/12_errors.sh:32: @use_lib lib2 | ||
@ Goal 'g1' has unknown dependency 'unknown': | ||
@ tests/12_errors.sh:13: @depends_on unknown | ||
@ Goal 'g2' uses unknown lib 'unknown': | ||
@ tests/12_errors.sh:21: @use_lib unknown | ||
? 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,6 @@ | |
@depends_on a | ||
@doc doc for b | ||
|
||
@goal @glob 14_doc.tush | ||
@goal @glob 13_doc.tush | ||
@depends_on a b | ||
@doc doc for glob |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/13_doc_multi1.sh | ||
@ Multiple @doc not allowed for a goal: | ||
@ tests/13_doc_multi1.sh:4: @doc d2 | ||
? 1 | ||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/13_doc_multi2.sh -l | ||
@ Multiple @doc not allowed for a goal: | ||
@ tests/13_doc_multi2.sh:4: @doc d2 | ||
? 1 | ||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/13_doc.sh -l | ||
| Available goals: | ||
| a : doc for a | ||
| b : doc for b | ||
| 13_doc.tush : doc for glob |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
@goal @glob 13_doc.tush | ||
@doc d1 | ||
@doc d2 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/14_private.sh -l | ||
| Available goals: | ||
| a | ||
| 14_private.sh | ||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/14_private.sh --list-all | ||
| Available goals: | ||
| a | ||
| b | ||
| 14_private.sh | ||
| 14_private.tush | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/15_lib.sh -l | ||
| Available goals: | ||
| g1 | ||
| g2 | ||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/15_lib.sh g1 | ||
| goal 'g1' ... | ||
| Hello World | ||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/15_lib.sh g2 | ||
| goal 'g2' ... | ||
| Hello lib_name World | ||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/15_lib_unknown.sh g3 | ||
@ Goal 'g3' uses unknown lib 'unknown': | ||
@ tests/15_lib_unknown.sh:3: @use_lib unknown | ||
? 1 | ||
|
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
|
||
echo "hello" | ||
exit 17 | ||
exit 47 | ||
echo "world" | ||
|
||
@goal default | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/16_prelude_fail.sh | ||
| hello | ||
| prelude failed | ||
? 47 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
$ cd "$MYDIR"; PATH=tests/wrapper/bash:$PATH ./$MAKESURE -f tests/18_empty_prelude.sh | ||
$ cd "$MYDIR"; PATH=tests/wrapper/bash:$PATH ./$MAKESURE -f tests/17_empty_prelude.sh | ||
| goal 'default' ... | ||
| running bash | ||
| hello |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/21_parsing_spaces.sh -la | ||
| Available goals: | ||
| 21_parsing 1.txt | ||
| 21_parsing 2.txt | ||
| 21_parsing*.txt | ||
| test2 | ||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/21_parsing_spaces.sh test2 | ||
| goal '21_parsing 2.txt' ... | ||
| 21_parsing 2.txt | ||
| 2 | ||
| goal 'test2' [empty]. | ||
|
||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/21_parsing_comments.sh -la | ||
| Available goals: | ||
| goal_with_comment | ||
| test1 | ||
|
||
$ cd "$MYDIR"; ./$MAKESURE -f tests/21_parsing_comments.sh test1 | ||
| goal 'goal_with_comment' ... | ||
| goal_with_comment | ||
| goal 'test1' [empty]. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
|
||
@goal @glob 21_parsing*.txt | ||
echo "$ITEM" | ||
cat "$ITEM" | ||
|
||
@goal test2 | ||
@depends_on '21_parsing 2.txt' |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.