Commit 5a19433b authored by Marion Goedel's avatar Marion Goedel
Browse files

Merge branch 'develop' of https://gitlab.lrz.de/vadere/vadere into develop

parents 7b1da6cf e48b2301
Pipeline #63219 failed with stages
in 1 minute and 37 seconds
......@@ -19,16 +19,16 @@ unit_tests_with_coverage:
# Following syntaxes allow you to skip whole classes and single methods:
#
# #Exclude one test class
# mvn test -Dtest=!LegacyTest
# mvn -Dtest=!LegacyTest test
# # Exclude one test method
# mvn verify -Dtest=!LegacyTest#testFoo
# mvn -Dtest=!LegacyTest#testFoo verify
# # Exclude two test methods
# mvn verify -Dtest=!LegacyTest#testFoo+testBar
# mvn -Dtest=!LegacyTest#testFoo+testBar verify
# # Exclude a package with a wildcard (*)
# mvn test -Dtest=!com.mycompany.app.Legacy*
# mvn -Dtest=!com.mycompany.app.Legacy* test
script:
- mvn clean
- mvn test -Dtest=!TestConvolution,!TestBitonicSort,!TestCLLinkedList
- mvn -Dtest=!TestConvolution,!TestBitonicSort,!TestCLLinkedList test
- python3 Tools/collect_line_and_branch_coverage.py
run_scenario_files:
......@@ -36,6 +36,6 @@ run_scenario_files:
script:
- mvn clean
- mvn package -Dmaven.test.skip=true
- mvn -Dmaven.test.skip=true package
- python3 Tools/run_vadere_console_with_all_scenario_files.py
......@@ -67,8 +67,9 @@ def print_averaged_line_coverage(coverage_data):
averaged_line_coverage = int(round(summed_line_coverage_data / total_modules, 0))
averaged_branch_coverage = int(round(summed_branch_coverage_data / total_modules, 0))
print("Analyzed modules: {}".format(sorted(coverage_data.keys())))
print("Line Coverage: Total {}%".format(averaged_line_coverage))
print("Branch Coverage: {}%".format(averaged_branch_coverage))
print("Branch Coverage: Total {}%".format(averaged_branch_coverage))
if __name__ == "__main__":
module_names = get_modules_from_pom_file()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment