From a6650278a9ac70654223a6f266453e83c7774424 Mon Sep 17 00:00:00 2001 From: Teacher Date: Tue, 26 Apr 2022 15:35:51 +0000 Subject: [PATCH] Updated Singularity definition file with the simple multovltest --- containers/singularity/multovl.def | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/containers/singularity/multovl.def b/containers/singularity/multovl.def index c8e8a39..19aa676 100644 --- a/containers/singularity/multovl.def +++ b/containers/singularity/multovl.def @@ -5,9 +5,9 @@ # -- Build stage -- -# https://cloud.sylabs.io/library/andras.aszodi/default/ubuntu_devboost +# https://cloud.sylabs.io/library/andras.aszodi/default/ubuntu_devboost:latest Bootstrap: library -From: andras.aszodi/default/ubuntu_devboost +From: andras.aszodi/default/ubuntu_devboost:latest Stage: build %setup @@ -79,6 +79,13 @@ Stage: prod # to the same location in the "prod" stage /usr/local/multovl-1.3 +%test + # A very simple test harness to check if the main 'multovl' executable is working + /usr/local/multovl-1.3/bin/multovltest.sh /usr/local/multovl-1.3/bin/multovl + if [ $? -ne 0 ]; then + exit 1 + fi + # Information %labels Author András Aszódi