diff --git a/.travis.yml b/.travis.yml index e2d152d5f2..18dcccd6af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,2 @@ language: cpp -script: "make test" +script: ./test/ci.sh diff --git a/src/bootimage.cpp b/src/bootimage.cpp index d32ca69281..f5f3314638 100644 --- a/src/bootimage.cpp +++ b/src/bootimage.cpp @@ -15,6 +15,7 @@ #include "util.h" #include "stream.h" #include "codegen/assembler.h" +#include "codegen/promise.h" #include "target.h" #include "binaryToObject/tools.h" #include "lzma.h" @@ -29,6 +30,7 @@ extern "C" void __cxa_pure_virtual(void) { abort(); } using namespace vm; using namespace avian::tools; using namespace avian::util; +using namespace avian::codegen; namespace { @@ -330,7 +332,7 @@ makeCodeImage(Thread* t, Zone* zone, BootImage* image, uint8_t* code, Client(Thread* t): t(t) { } virtual void NO_RETURN handleError() { - vm::abort(t); + abort(t); } private: diff --git a/test/ci.sh b/test/ci.sh new file mode 100755 index 0000000000..555ce4687e --- /dev/null +++ b/test/ci.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +make mode=debug test +make test +make process=interpret test +make bootimage=true test +make tails=true continuations=true test