From b0a101061272f80f8ad5b28f633a040bb47b84a8 Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Tue, 11 Nov 2014 15:11:24 +0100 Subject: run-check: fix and apply use of "norun" context (when sourced) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit that got it originally wrong on the "provider" side (check its full commit message): run-check: pass provided switches down to clufter invocation Signed-off-by: Jan Pokorný --- __root__/run-check | 2 +- __root__/run-tests | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__root__/run-check b/__root__/run-check index f2b28b7..d3a9d9a 100755 --- a/__root__/run-check +++ b/__root__/run-check @@ -29,7 +29,7 @@ which ccs_flatten 2>/dev/null || ( ln -fs -- build/ccs_flatten . ) || { ret=$?; echo "ccs_flatten missing, cannot be built"; exit ${ret}; } -if [ "${s}" != "__norun__" ]; then +if [ "${1}" != "__norun__" ]; then # self-check for sanity usage testcib="$(mktemp)" testcoro="$(mktemp)" { ${PYTHONEXEC} run-dev ccs2pcs-needle "${@}" -- - "${testcib}" "${testcoro}" \ diff --git a/__root__/run-tests b/__root__/run-tests index a85712f..501f232 100755 --- a/__root__/run-tests +++ b/__root__/run-tests @@ -9,7 +9,7 @@ # --- # [1] http://docs.python.org/2/library/unittest.html#command-line-interface -. ./run-check "$(dirname "${0}")/run-check" +. ./run-check "$(dirname "${0}")/run-check" __norun__ stop=$(printf "\033\[0m") blue=$(printf "\033[01;34m") red=$(printf "\033[01;31m") -- cgit