Skip to content

Commit

Permalink
Run xjalienfs's self-tests after installation
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoWilken committed Feb 16, 2024
1 parent e941eed commit a2c4b40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xjalienfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ for binfile in "$INSTALLROOT"/bin/*; do
done
rm -fv "$INSTALLROOT"/bin/*.bak

# Now that alien.py is installed, we can run its tests. They need a JAliEn
# token though, so skip them if we have none.
if [ -n "$JALIEN_TOKEN_CERT" ] && [ -n "$JALIEN_TOKEN_KEY" ]; then
PATH="$INSTALLROOT/bin:$PATH" "$SOURCEDIR/tests/run_tests"
fi

# Modulefile
mkdir -p "$INSTALLROOT/etc/modulefiles"
alibuild-generate-module --bin > "$INSTALLROOT/etc/modulefiles/$PKGNAME"
Expand Down

0 comments on commit a2c4b40

Please sign in to comment.