2013-02-16 15:36:41 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2014-04-29 21:15:00 +00:00
|
|
|
if [ -z "${test_target}" ]; then
|
|
|
|
test_target=test
|
|
|
|
fi
|
|
|
|
|
|
|
|
# we shouldn't run jdk-test builds if we're not running the test target
|
|
|
|
if [ ${test_target} = test ]; then
|
|
|
|
make ${flags} jdk-test
|
|
|
|
fi
|
|
|
|
|
|
|
|
make ${flags} ${test_target}
|
|
|
|
make ${flags} mode=debug ${test_target}
|
|
|
|
make ${flags} process=interpret ${test_target}
|
2013-02-27 20:47:43 +00:00
|
|
|
# bootimage and openjdk builds without openjdk-src don't work:
|
|
|
|
if [ -z "${openjdk}" ]; then
|
2014-04-29 21:15:00 +00:00
|
|
|
make ${flags} bootimage=true ${test_target}
|
2013-02-27 20:47:43 +00:00
|
|
|
fi
|
2014-04-29 21:15:00 +00:00
|
|
|
make ${flags} tails=true continuations=true ${test_target}
|
2014-02-26 04:38:29 +00:00
|
|
|
make ${flags} codegen-targets=all
|