Skip to content

Commit

Permalink
Update autogen file to check test directory for Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
kholland-intel committed Nov 29, 2023
1 parent fe6441f commit 67005b8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

test -d ./config || mkdir ./config

test -f modules/tests-sos/configure.ac || { echo "ERROR: The test directory is empty. Please run the following command to download the SOS tests:"; echo "git submodule update --init"; exit 1; }
if [ ! -f test/Makefile.am ] || [ ! -f test/apps/Makefile.am ] ||
! [ -f test/include/Makefile.am ] || [ ! -f test/performance/Makefile.am ] ||
! [ -f test/shmemx/Makefile.am ] || ! [ -f test/spec-example/Makefile.am ] ||
! [ -f test/unit/Makefile.am ];
then
test -f modules/tests-sos/autogen.sh || { echo "ERROR: The test directory is empty. Please run the following command to download the SOS tests:"; echo "git submodule update --init"; exit 1; }
fi

FILES=./man/*.1
echo -n "dist_man1_MANS =" > ./man/Makefile.am
Expand Down

0 comments on commit 67005b8

Please sign in to comment.