diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2015-05-06 18:18:28 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2015-05-06 18:18:28 -0700 |
commit | 048f123ed6c45efb4d4d1529cb2ad9e8fce176e6 (patch) | |
tree | 92977c09f0fa768c9eb6e5931395f6c7b435cf39 | |
parent | b89de5f6e0d81eccc34664f19362b83a82a152ca (diff) | |
parent | 9681ef42733d4cadf2b560fedfbba5da872cb59e (diff) | |
download | protobuf-048f123ed6c45efb4d4d1529cb2ad9e8fce176e6.tar.gz protobuf-048f123ed6c45efb4d4d1529cb2ad9e8fce176e6.tar.bz2 protobuf-048f123ed6c45efb4d4d1529cb2ad9e8fce176e6.zip |
Merge pull request #349 from haberman/conformance-java-travis
Run conformance tests against Java for the Travis build.
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | conformance/Makefile.am | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index cbddac58..354be896 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ script: - cd python && python setup.py build && python setup.py test && cd .. - export LD_LIBRARY_PATH=../src/.libs - cd python && python setup.py build --cpp_implementation && python setup.py test --cpp_implementation && cd .. + - cd conformance && make test_java && cd .. - make distcheck -j2 notifications: email: false diff --git a/conformance/Makefile.am b/conformance/Makefile.am index 59bb2576..95343f14 100644 --- a/conformance/Makefile.am +++ b/conformance/Makefile.am @@ -46,13 +46,13 @@ MAINTAINERCLEANFILES = \ Makefile.in javac_middleman: ConformanceJava.java protoc_middleman - javac ConformanceJava.java com/google/protobuf/conformance/Conformance.java + javac -classpath ../java/target/classes ConformanceJava.java com/google/protobuf/conformance/Conformance.java @touch javac_middleman conformance-java: javac_middleman @echo "Writing shortcut script conformance-java..." @echo '#! /bin/sh' > conformance-java - @echo 'java -classpath .:$$CLASSPATH ConformanceJava "$$@"' >> conformance-java + @echo 'java -classpath .:../java/target/classes ConformanceJava "$$@"' >> conformance-java @chmod +x conformance-java # Targets for actually running tests. |