Skip to content

Commit

Permalink
Test debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Mar 15, 2024
1 parent 48d99ef commit b26eaea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion testsuite/tests/cache/summary/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from drivers import builds
from drivers.alr import run_alr, init_local_crate, alr_with
from drivers.asserts import assert_match
from drivers.helpers import contents

# Default cache status after clean install

Expand All @@ -31,7 +32,11 @@
# After installing some toolchain, for sure there should be something in the cache

run_alr("toolchain", "--select", "gnat_native=1", "gprbuild")
p = run_alr("cache")
try:
p = run_alr("cache")
except:
# Something strange is happening...
assert False, contents("alr-config/cache")
assert_match(r"Path:.*alr-config/cache\nSize: (?!0.0 B).*\n", p.out)

print("SUCCESS")

0 comments on commit b26eaea

Please sign in to comment.