summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-09-29 16:28:35 -0500
committerJesse Luehrs <doy@tozt.net>2012-09-29 16:30:37 -0500
commit642eb1a7e248f582e47be53164a8faf28447e12b (patch)
tree3495085cccedf8617fa06bef411146c34f734a9d /bin
parent524560c0318399b4a78513d7a3d132318cd7adfc (diff)
downloadconf-642eb1a7e248f582e47be53164a8faf28447e12b.tar.gz
conf-642eb1a7e248f582e47be53164a8faf28447e12b.zip
add shortcut for make test_porting
Diffstat (limited to 'bin')
-rwxr-xr-xbin/p15
1 files changed, 15 insertions, 0 deletions
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