-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(*): revise to support custom test functions (#130)
Update, for each exercise, its "runt*" and "test-*" scripts, to use optional custom test functions.
- Loading branch information
Showing
260 changed files
with
3,120 additions
and
780 deletions.
There are no files selected for viewing
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,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
cd "testlib" 2>&1 >/dev/null | ||
if [ $# -eq 0 ] ; then ./runt --regina ../accumulate-check ../accumulate ../accumulate-toplevel ; else ./runt "$@" ../accumulate-check ../accumulate ../accumulate-toplevel ; fi | ||
if [ $# -eq 0 ] ; then ./runt --regina ../accumulate-check ../accumulate ../accumulate-toplevel accumulate-funcs ; else ./runt "$@" ../accumulate-check ../accumulate ../accumulate-toplevel accumulate-funcs ; fi | ||
cd - 2>&1 >/dev/null |
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 @@ | ||
@set options=%* | ||
@if "%1"=="" @set options=--regina | ||
@cd "testlib" | ||
@call runt.bat %options% ..\accumulate-check ..\accumulate ..\accumulate-toplevel | ||
@call runt.bat %options% ..\accumulate-check ..\accumulate ..\accumulate-toplevel accumulate-funcs | ||
@cd .. |
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
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,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
cd "testlib" 2>&1 >/dev/null | ||
if [ $# -eq 0 ] ; then ./runt --regina ../acronym-check ../acronym ../acronym-toplevel ; else ./runt "$@" ../acronym-check ../acronym ../acronym-toplevel ; fi | ||
if [ $# -eq 0 ] ; then ./runt --regina ../acronym-check ../acronym ../acronym-toplevel acronym-funcs ; else ./runt "$@" ../acronym-check ../acronym ../acronym-toplevel acronym-funcs ; fi | ||
cd - 2>&1 >/dev/null |
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 @@ | ||
@set options=%* | ||
@if "%1"=="" @set options=--regina | ||
@cd "testlib" | ||
@call runt.bat %options% ..\acronym-check ..\acronym ..\acronym-toplevel | ||
@call runt.bat %options% ..\acronym-check ..\acronym ..\acronym-toplevel acronym-funcs | ||
@cd .. |
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
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,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
cd "testlib" 2>&1 >/dev/null | ||
if [ $# -eq 0 ] ; then ./runt --regina ../all-your-base-check ../all-your-base ../all-your-base-toplevel ; else ./runt "$@" ../all-your-base-check ../all-your-base ../all-your-base-toplevel ; fi | ||
if [ $# -eq 0 ] ; then ./runt --regina ../all-your-base-check ../all-your-base ../all-your-base-toplevel all-your-base-funcs ; else ./runt "$@" ../all-your-base-check ../all-your-base ../all-your-base-toplevel all-your-base-funcs ; fi | ||
cd - 2>&1 >/dev/null |
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 @@ | ||
@set options=%* | ||
@if "%1"=="" @set options=--regina | ||
@cd "testlib" | ||
@call runt.bat %options% ..\all-your-base-check ..\all-your-base ..\all-your-base-toplevel | ||
@call runt.bat %options% ..\all-your-base-check ..\all-your-base ..\all-your-base-toplevel all-your-base-funcs | ||
@cd .. |
Oops, something went wrong.