зеркало из https://github.com/mozilla/pluotsorbet.git
start integrating testing
This commit is contained in:
Родитель
fb1930e22f
Коммит
268ce48966
|
@ -8,6 +8,7 @@ before_script:
|
|||
- npm install casperjs
|
||||
- npm install slimerjs
|
||||
script:
|
||||
- make test
|
||||
- casperjs --engine=slimerjs $TRAVIS_BUILD_DIR/tests/automation.js
|
||||
- cd java && make && cd ..
|
||||
- cd tests && make && cd ..
|
||||
|
|
27
Makefile
27
Makefile
|
@ -1,25 +1,5 @@
|
|||
SRC = zipfile.js \
|
||||
util.js \
|
||||
gLong.js \
|
||||
classfile/reader.js \
|
||||
classfile/accessflags.js \
|
||||
classfile/attributetypes.js \
|
||||
classfile/classfile.js \
|
||||
classfile/signature.js \
|
||||
classfile/tags.js \
|
||||
classinfo.js \
|
||||
arraytypes.js \
|
||||
signature.js \
|
||||
opcodes.js \
|
||||
classes.js \
|
||||
native.js \
|
||||
frame.js \
|
||||
thread.js \
|
||||
threads.js \
|
||||
jvm.js \
|
||||
main.js \
|
||||
libs/async_storage.js \
|
||||
libs/fs.js
|
||||
test: java/tests.jar java/classes.jar
|
||||
casperjs --enginer=slimerjs `pwd`/tests/automation.js
|
||||
|
||||
java/tests.jar: java/classes.jar
|
||||
cd tests && make
|
||||
|
@ -27,8 +7,5 @@ java/tests.jar: java/classes.jar
|
|||
java/classes.jar:
|
||||
cd java && make
|
||||
|
||||
j2me.js: $(SRC)
|
||||
cat $^ > $@
|
||||
|
||||
clean:
|
||||
rm -f j2me.js tests/*.jar java/*.jar `find . -name "*~"`
|
||||
|
|
Загрузка…
Ссылка в новой задаче