mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
fix openjdk and android builds when continuations=true
Also, update the whitespace padding for printing test results to accommodate long names like extra.ComposableContinuations.
This commit is contained in:
parent
fcb7059573
commit
570b5447bf
2
makefile
2
makefile
@ -1337,6 +1337,8 @@ ifneq ($(classpath),avian)
|
|||||||
$(classpath-src)/avian/ConstantPool.java \
|
$(classpath-src)/avian/ConstantPool.java \
|
||||||
$(classpath-src)/avian/Continuations.java \
|
$(classpath-src)/avian/Continuations.java \
|
||||||
$(classpath-src)/avian/FieldAddendum.java \
|
$(classpath-src)/avian/FieldAddendum.java \
|
||||||
|
$(classpath-src)/avian/Function.java \
|
||||||
|
$(classpath-src)/avian/FunctionReceiver.java \
|
||||||
$(classpath-src)/avian/IncompatibleContinuationException.java \
|
$(classpath-src)/avian/IncompatibleContinuationException.java \
|
||||||
$(classpath-src)/avian/Machine.java \
|
$(classpath-src)/avian/Machine.java \
|
||||||
$(classpath-src)/avian/MethodAddendum.java \
|
$(classpath-src)/avian/MethodAddendum.java \
|
||||||
|
@ -18,7 +18,7 @@ fi
|
|||||||
|
|
||||||
echo -n "" >${log}
|
echo -n "" >${log}
|
||||||
|
|
||||||
printf "%12s------- Unit tests -------\n" ""
|
printf "%20s------- Unit tests -------\n" ""
|
||||||
${unit_tester} 2>>${log}
|
${unit_tester} 2>>${log}
|
||||||
if [ "${?}" != "0" ]; then
|
if [ "${?}" != "0" ]; then
|
||||||
trouble=1
|
trouble=1
|
||||||
@ -27,9 +27,9 @@ fi
|
|||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
printf "%12s------- Java tests -------\n" ""
|
printf "%20s------- Java tests -------\n" ""
|
||||||
for test in ${tests}; do
|
for test in ${tests}; do
|
||||||
printf "%24s: " "${test}"
|
printf "%32s: " "${test}"
|
||||||
|
|
||||||
case ${mode} in
|
case ${mode} in
|
||||||
debug|debug-fast|fast|small )
|
debug|debug-fast|fast|small )
|
||||||
|
@ -32,7 +32,7 @@ Test::Test(const char* name):
|
|||||||
bool Test::runAll() {
|
bool Test::runAll() {
|
||||||
int failures = 0;
|
int failures = 0;
|
||||||
for(Test* t = Test::first; t; t = t->next) {
|
for(Test* t = Test::first; t; t = t->next) {
|
||||||
printf("%24s: ", t->name);
|
printf("%32s: ", t->name);
|
||||||
t->run();
|
t->run();
|
||||||
failures += t->failures;
|
failures += t->failures;
|
||||||
if(t->failures > 0) {
|
if(t->failures > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user