Skip to content

Commit

Permalink
DBG - dude, where's my coverage?
Browse files Browse the repository at this point in the history
  • Loading branch information
mvollmer committed Nov 11, 2024
1 parent ccbfbe7 commit f349101
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/common/lcov.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ def create_coverage_report() -> None:
title = os.path.basename(subprocess.check_output(["git", "remote", "get-url", "origin"])).decode().strip()
except subprocess.CalledProcessError:
title = "?"
print("TITLE", title)
if len(lcov_files) > 0:
all_file = f"{BASE_DIR}/lcov/all.info"
diff_file = f"{BASE_DIR}/lcov/diff.info"
Expand Down
4 changes: 2 additions & 2 deletions test/run
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ test/common/pixel-tests pull

PREPARE_OPTS=""
RUN_OPTS=""
ALL_TESTS="$(test/common/run-tests --test-dir test/verify -l)"
ALL_TESTS="TestTypeahead.testBasic"

RE_NETWORKING='Networking|Bonding|Connection|TestBridge|WireGuard|Firewall|Team|IPA|AD|Kerberos'
RE_STORAGE='Storage'
RE_EXPENSIVE='HostSwitching|MultiMachine|Updates|Superuser|Kdump|Pages'

# every known case needs to set RUN_OPTS to something non-empty, so that we can check if we hit any branch
case "${TEST_SCENARIO:=}" in
*devel*) RUN_OPTS="$RUN_OPTS --coverage"; export NODE_ENV=development ;;&
*devel*) RUN_OPTS="$RUN_OPTS --coverage TestTypeahead.testBasic"; export NODE_ENV=development ;;&
*firefox*) RUN_OPTS="$RUN_OPTS "; export TEST_BROWSER=firefox ;;&

*daily*)
Expand Down
Empty file modified test/verify/check-lib-typeahead
100644 → 100755
Empty file.

0 comments on commit f349101

Please sign in to comment.