Skip to content
Snippets Groups Projects
Commit 78f88599 authored by Volker Hilsheimer's avatar Volker Hilsheimer
Browse files

Run parse-opts test when calling test-job with --debug

parent 7e657e89
No related branches found
No related tags found
No related merge requests found
@echo off @echo off
SETLOCAL ENABLEDELAYEDEXPANSION
call c:\minicoin\util\parse-opts.cmd %*
if defined FLAG_debug (
echo Running parse-opts-test
cd c:\minicoin\tests
call parse-opts-test.cmd
exit /B %errorcode%
)
echo Hello runner! echo Hello runner!
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
......
. /minicoin/util/parse-opts.sh "$@"
if [ ! -z "$FLAG_debug" ]; then
echo "Running parse-opts-test"
cd /minicoin/tests
. parse-opts-test.sh
exit $?
fi
echo "Hello runner!" echo "Hello runner!"
echo "This is $(uname -a)" echo "This is $(uname -a)"
echo "Args received:" echo "Args received:"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment