From 642eb1a7e248f582e47be53164a8faf28447e12b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 29 Sep 2012 16:28:35 -0500 Subject: add shortcut for make test_porting --- bin/p | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'bin') diff --git a/bin/p b/bin/p index 01261dd..dbb51b7 100755 --- a/bin/p +++ b/bin/p @@ -34,6 +34,18 @@ _test () { fi } +_test_porting () { + if [[ ! -e perl ]]; then + _make + fi + export TEST_JOBS=9 + if [ -n "$*" ]; then + make test_porting TEST_FILES="$*" + else + make test_porting + fi +} + cmd=$1 shift @@ -50,6 +62,9 @@ case $cmd in t|test) _test $@ ;; + tp|test_porting) + _test_porting $@ + ;; a|all) _clean _test -- cgit v1.2.3-54-g00ecf