Skip to content

Commit

Permalink
Natural ordering of @goal @glob is broken #64
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Oct 10, 2021
1 parent 69ec6e2 commit 696b853
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/22_nat_order.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

@options silent

@goal nat_order_test @glob *.tush
@reached_if [[ $INDEX -ge 22 ]] # only check the correct order on first 22 tests
echo "$ITEM"

@goal default
@depends_on
24 changes: 24 additions & 0 deletions tests/22_nat_order.tush
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

$ cd "$MYDIR"; ./$MAKESURE -f tests/22_nat_order.sh nat_order_test
| 0_basic.tush
| 1_goals.tush
| 2_mydir.tush
| 3_loop.tush
| 4_trace.tush
| 5_shell.tush
| 6_reached_if.tush
| 7_options.tush
| 8_timing.tush
| 9_prelude.tush
| 10_define.tush
| 11_goal_glob.tush
| 12_errors.tush
| 13_doc.tush
| 14_private.tush
| 15_lib.tush
| 16_prelude_fail.tush
| 17_empty_prelude.tush
| 18_vars_priority.tush
| 19_optimize_goals.tush
| 20_list_goals.tush
| 21_parsing.tush

0 comments on commit 696b853

Please sign in to comment.