Skip to content

Commit

Permalink
test: smoketest_list_and_info adjusted to changes in recent inet rele…
Browse files Browse the repository at this point in the history
…ases

namely, that omnetpp-6.1 was added to them as supported dependency
  • Loading branch information
avarga committed Oct 11, 2024
1 parent 5ee5767 commit 2e1c2a8
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions tests/smoketest_list_and_info
Original file line number Diff line number Diff line change
Expand Up @@ -93,22 +93,19 @@ assert_contains_line 'omnetpp-6.0.3'
assert_contains_line 'omnetpp-6.0.2'
assert_contains_line 'omnetpp-6.0.1'
assert_contains_line 'omnetpp-6.0.0'
assert_contains_line 'inet-4.5.2 omnetpp-6.0.3'
assert_contains_line 'inet-4.5.1 omnetpp-6.0.3'
assert_contains_line 'inet-4.5.0 omnetpp-6.0.3'
assert_contains_line 'inet-4.4.1 omnetpp-6.0.3'
assert_contains_line 'simu5g-1.2.2 inet-4.5.2 omnetpp-6.0.3'
assert_contains_line 'simu5g-1.2.1 inet-4.4.1 omnetpp-6.0.3'
assert_contains_line 'simu5g-1.1.0 inet-4.2.10 omnetpp-5.7.1'
assert_not_contains ' omnetpp-6.0.2' # because it only offers the latest patchlevel of 6.0, 6.0.3
assert_contains_line 'inet-4.5.2 omnetpp-6.1.0'
assert_contains_line 'inet-4.5.1 omnetpp-6.1.0'
assert_contains_line 'inet-4.5.0 omnetpp-6.1.0'
assert_contains_line 'inet-4.4.1 omnetpp-6.1.0'
assert_not_contains ' omnetpp-6.0.2' # because it only offers the latest patchlevels of a version, e.g 6.0.3

run opp_env list --expand simu5g
assert_num_lines 4 6
assert_contains_line 'simu5g-1.2.2 inet-4.5.2 omnetpp-6.0.3'
assert_contains_line 'simu5g-1.2.2 inet-4.5.3 omnetpp-6.0.3'
assert_contains_line 'simu5g-1.2.1 inet-4.4.1 omnetpp-6.0.3'
assert_contains_line 'simu5g-1.1.0 inet-4.2.10 omnetpp-5.7.1'
assert_contains_line 'simu5g-git inet-4.5.2 omnetpp-6.0.3'
assert_not_contains ' omnetpp-6.0.2' # because it only offers the latest patchlevel of 6.0, 6.0.3
assert_contains_line 'simu5g-git inet-4.5.3 omnetpp-6.0.3'
assert_not_contains ' omnetpp-6.0.2' # because it only offers the latest patchlevels of a version, e.g. 6.0.3

run opp_env list --expand-all
assert_num_lines 1200 1300
Expand Down

0 comments on commit 2e1c2a8

Please sign in to comment.