From 3be0f553a5634af9631a1d6d837158d3c5bad3fc Mon Sep 17 00:00:00 2001 From: tvallin Date: Wed, 24 Apr 2024 16:08:45 +0200 Subject: [PATCH] Test jar file as well Signed-off-by: tvallin --- etc/scripts/test-archetypes-executable.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/etc/scripts/test-archetypes-executable.sh b/etc/scripts/test-archetypes-executable.sh index 8b14d4635fd..78bb3973dbd 100755 --- a/etc/scripts/test-archetypes-executable.sh +++ b/etc/scripts/test-archetypes-executable.sh @@ -56,9 +56,11 @@ function testApplication() { fi } -# Iterate through project with native-image option selected, build native image executable, -# Run the executable and ping simple-greet endpoint -readonly LINE_NUMBERS=$(grep -n native-image ${TARGET_DIR}/permutations.txt | cut -d : -f 1) +# Iterate through project with native-image option selected and quickstart, +# build native image executable, run the executable and ping simple-greet endpoint +readonly LINE_NUMBERS_NATIVE_IMAGE=$(grep -n native-image ${TARGET_DIR}/permutations.txt | cut -d : -f 1) +readonly LINE_NUMBERS_QUICKSTART=$(grep -n quickstart ${TARGET_DIR}/permutations.txt | cut -d : -f 1) +readonly LINE_NUMBERS="${LINE_NUMBERS_NATIVE_IMAGE} ${LINE_NUMBERS_QUICKSTART}" for PROJECT_NUMBER in ${LINE_NUMBERS}; do