Skip to content

Commit

Permalink
Peripheral test files
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Jul 29, 2024
1 parent 7e3ded4 commit 8928e44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
5 changes: 4 additions & 1 deletion scripts/ci-github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ echo GNAT VERSION:
gnatls -v
echo ............................

echo ALR VERSION:
echo "ALR VERSION (at $(which alr)):"
alr version
echo ............................

Expand All @@ -61,6 +61,9 @@ if [ "${INDEX:-}" != "" ]; then
alr index --name default --add "$INDEX"
fi

echo "ALR SETTINGS (global):"
alr settings --global

echo ALR SEARCH:
# List releases for the record
alr -q -d search --list --external
Expand Down
11 changes: 4 additions & 7 deletions testsuite/tests/install/softlinks/test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""
Test that binary files containing softlinks can be installed properly. The test
crate contains all kinds of pernicious links (broken, recursive, etc.):
crate contains all kinds of pernicious links (broken, recursive, etc.).
This test is Unix-only, as Windows' tar cannot recreate the broken links:
crate/
├── bin -> subdir/bin
Expand Down Expand Up @@ -31,7 +33,7 @@
import os
import shutil
from drivers.alr import run_alr, crate_dirname
from drivers.helpers import contents, on_windows
from drivers.helpers import contents


def kind(file):
Expand All @@ -42,11 +44,6 @@ def ls(path):
return out.stdout


# Does not apply to Windows as it does not support softlinks
if on_windows():
print('SKIP: on Windows, unapplicable')
sys.exit(0)

# This command should succeed normally
run_alr("install", "--prefix=install", "crate")

Expand Down

0 comments on commit 8928e44

Please sign in to comment.