Skip to content

Commit 0bb08e5

Browse files
committed
fix config generation
1 parent e956076 commit 0bb08e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/PharoLauncherCommonFunctions.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ export ROOT
77

88
#setup pharo launcher and image name paths
99
PHL_SCRIPT="$ROOT"/../scripts/pharo-launcher.sh
10-
# PHARO_LAUNCHER_IMAGE="$ROOT"/../PharoLauncher.image
11-
PHARO_LAUNCHER_IMAGE="/Users/demarey/Documents/Pharo/images/Pharo 12.0 - launcher dev/Pharo 12.0 - launcher dev.image"
10+
PHARO_LAUNCHER_IMAGE="$ROOT"/../PharoLauncher.image
1211
export PHARO_LAUNCHER_IMAGE
1312
PHARO_LAUNCHER_VM="$ROOT"/../pharo # pharo headless wrapper script, avoid to find the exe path that is different on Linux ans MacOs
1413
export PHARO_LAUNCHER_VM
@@ -31,7 +30,7 @@ ensureShunitIsPresent () {
3130
}
3231

3332
setUpLauncherTestConfiguration () {
34-
sed "s/PHL_CLI_TEST_DIR/$ROOT/g" "$PHL_TEST_CONFIG_TEMPLATE" > "$PHL_TEST_CONFIG"
33+
sed "s|PHL_CLI_TEST_DIR|$ROOT|g" "$PHL_TEST_CONFIG_TEMPLATE" > "$PHL_TEST_CONFIG"
3534
}
3635

3736
setupImageTemplateList () {

test/testImageCommands.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ updateVMforTestImage () {
4545

4646
oneTimeSetUp() {
4747
echo "Running oneTimeSetup..."
48+
setUpLauncherTestConfiguration
4849
echo "Setting up image template list."
4950
setupImageTemplateList
5051
echo "Updating VM for running Test image."

0 commit comments

Comments
 (0)