Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add coverage recording #1229

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Try to get things working again

  • Loading branch information
jrmuizel committed Aug 31, 2017
commit 0acd26a8cf6d5ded830ce7c0472164d37d7d7a93
@@ -39,13 +39,7 @@ script:
- if [ $BUILD_KIND = DEBUG ]; then (cargo test --all --verbose); fi
- if [ $BUILD_KIND = RELEASE ]; then (cargo test --all --verbose); fi
- if [ $BUILD_KIND = DEBUG ]; then (wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
tar xzf master.tar.gz &&
cd kcov-master &&
mkdir build &&
cd build &&
cmake .. &&
make &&
sudo make install); fi
sudo make install); fi
- if [ $BUILD_KIND = DEBUG ]; then (cd wrench && mkdir cov && python headless.py --subpixel-aa reftest); fi
- if [ $BUILD_KIND = RELEASE ]; then (cd wrench && cargo build --release --features=debugger); fi
- if [ $TRAVIS_RUST_VERSION == "nightly" ]; then (cd webrender && cargo bench --verbose); fi
@@ -67,8 +67,4 @@ def set_osmesa_env(bin_path):

subprocess.check_call(['cargo', 'build', '--release', '--verbose', '--features', 'headless'])
set_osmesa_env('../target/release/')
subprocess.check_call(['kcov', '--verify', 'cov/out',
'--include-path', '../webrender',
'--coveralls-id', os.environ['TRAVIS_JOB_ID'],
'../target/release/wrench', '-h']
+ sys.argv[1:])
subprocess.check_call(['../target/release/wrench', '-h'] + sys.argv[1:])
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.