Skip to content

Commit

Permalink
Self-review
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Aug 13, 2024
1 parent c1b3935 commit 16b2172
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 5 additions & 0 deletions alire.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ajunitgen = "^1.0.1"
ansiada = "^1.0"
c_strings = "^1.0"
clic = "~0.3"
compare_to_case = "~0.1"
den = "~0.1"
dirty_booleans = "~0.1"
diskflags = "~0.1"
Expand Down Expand Up @@ -67,6 +68,10 @@ commit = "e4d58ad90bf32bc44304197e5906a519f5a9a7bf"
url = "https://github.com/alire-project/clic"
commit = "56bbdc008e16996b6f76e443fd0165a240de1b13"

[pins.compare_to_case]
url = "https://github.com/mosteo/compare_to_case"
commit = "7934e319711995cf5960774f938c4d3ab5e0b7b6"

[pins.den]
url = "https://github.com/mosteo/den"
commit = "35d1f38395b93766dd64bca5901ce3b6a416ba1a"
Expand Down
8 changes: 2 additions & 6 deletions testsuite/tests/build_profile/default/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
Check switches for default profiles
"""

import os
import time
from drivers.alr import run_alr, init_local_crate, alr_with, alr_manifest
from drivers.helpers import content_of
from drivers.asserts import assert_match
Expand All @@ -13,10 +11,8 @@
init_local_crate('bin_1', binary=True, enter=True)
alr_with('lib_1', path='../lib_1')
alr_with('lib_2', path='../lib_2')
p = run_alr('-vv', '-d', 'update', quiet=False)
# dump to disk the last output
with open('update.log', 'w') as f:
f.write(p.out)
run_alr('update')


def check_config(path, profile, expected_switches=[]):
conf = content_of(path)
Expand Down

0 comments on commit 16b2172

Please sign in to comment.