diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-29 22:52:57 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 19:44:27 -0600 |
commit | c073f8720161930ecd3f80174b93aa62b63834a4 (patch) | |
tree | a8b9c58d5ef98d1b93dd0804a115fcb4eff2b323 | |
parent | a0a11867a85d5694a24de22751d8db7f59c1f347 (diff) |
test/{runtests => testenv}: make it easy to enter a test shell
Move 'runtests' to 'testenv', and have it execute the arguments instead of
roundup. Have Makefile pass it 'roundup' as an argument.
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | test/testenv (renamed from test/runtests) | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -27,7 +27,7 @@ all: PHONY build build: PHONY build-libretools build-doc install: PHONY install-libretools install-doc check: - @cd test && ./runtests + @cd test && ./testenv roundup %-doc: PHONY doc $(MAKE) -C doc $* diff --git a/test/runtests b/test/testenv index 7410032..131eed2 100755 --- a/test/runtests +++ b/test/testenv @@ -15,7 +15,7 @@ export XDG_CACHE_HOME="$home/.cache" export XDG_CONFIG_HOME="$home/.config" # Run the tests -roundup +eval "$@" ret=$? # Clean up |