mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Merge pull request #322 from joshuawarner32/ci-flexibility
disable irrelevant openjdk target when openjdk is passed as a flag
This commit is contained in:
commit
6c2c7448d6
34
test/ci.sh
34
test/ci.sh
@ -23,14 +23,32 @@ run_cmake() {
|
|||||||
cd ..
|
cd ..
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flags="${@}"
|
||||||
|
|
||||||
|
run_if_not_covered() {
|
||||||
|
local arg=$1
|
||||||
|
shift
|
||||||
|
|
||||||
|
for f in ${flags}; do
|
||||||
|
local key=$(echo $f | awk -F '=' '{print $1}')
|
||||||
|
if [ ${key} = ${arg} ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
run "${@}"
|
||||||
|
}
|
||||||
|
|
||||||
run_cmake -DCMAKE_BUILD_TYPE=Debug
|
run_cmake -DCMAKE_BUILD_TYPE=Debug
|
||||||
|
|
||||||
run make jdk-test
|
run make jdk-test
|
||||||
run make ${@} test
|
run make ${flags} test
|
||||||
run make ${@} mode=debug test
|
run make ${flags} mode=debug test
|
||||||
run make ${@} process=interpret test
|
run make ${flags} process=interpret test
|
||||||
run make ${@} bootimage=true test
|
run make ${flags} bootimage=true test
|
||||||
run make ${@} mode=debug bootimage=true test
|
run make ${flags} mode=debug bootimage=true test
|
||||||
run make ${@} openjdk=$JAVA_HOME test
|
|
||||||
run make ${@} tails=true continuations=true heapdump=true test
|
run_if_not_covered openjdk make ${flags} openjdk=$JAVA_HOME test
|
||||||
run make ${@} codegen-targets=all
|
|
||||||
|
run make ${flags} tails=true continuations=true heapdump=true test
|
||||||
|
run make ${flags} codegen-targets=all
|
||||||
|
Loading…
Reference in New Issue
Block a user