After travis updated to jdk 1.7.0_45 we have to run java -Xshare:dump before running the Cooja tests

This commit is contained in:
Adam Dunkels 2013-11-20 23:13:33 +01:00
parent b5f4588e56
commit df7c4131b5

View file

@ -29,7 +29,7 @@ before_script:
export CC65_HOME=/tmp/cc65/ && cc65 --version || true"
## Compile cooja.jar only when it's going to be needed
- "[ ${BUILD_CATEGORY:-sim} = sim ] && java -version && ant -q -f tools/cooja/build.xml jar || true"
- "[ ${BUILD_CATEGORY:-sim} = sim ] && java -version && ant -q -f tools/cooja/build.xml jar && sudo java -Xshare:dump -version || true"
## IMPORTANT: The commands here have to end with `|| true`,
## because it would make the test fail if BUILD_TYPE test fails