Skip to content

Commit

Permalink
delete after process terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
demarey committed Mar 22, 2024
1 parent d491294 commit 26264c1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ jobs:
- name: Build
run: VERSION=${SHORT_SHA} ./build.sh prepare

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

- name: test
run: VERSION=${SHORT_SHA} ./build.sh test
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function run_tests() {
rm -rf ~/Pharo # clean posssible remaining Pharo files
./pharo --version
ls -R pharo-vm
./pharo PharoLauncher.image test --junit-xml-output "PharoLauncher-Tests-Functional.PhLLaunchImageTest"
./pharo PharoLauncher.image test --junit-xml-output "PharoLauncher-Tests-Functional.*"
run_shell_cli_tests
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ PhLLaunchImageTest >> setUp [
{ #category : #running }
PhLLaunchImageTest >> tearDown [
PhLLaunchConfiguration launchInALoginShell: launchInALoginShellBackup.
"tempVmStoreFolder ensureDeleteAll."
PhLVirtualMachineManager vmStore: vmStoreBackup.
"imageDir ensureDeleteAll."
process ifNotNil: [ process isRunning ifTrue: [ process terminate ] ].
tempVmStoreFolder ensureDeleteAll.
imageDir ensureDeleteAll.
super tearDown
]

Expand Down

0 comments on commit 26264c1

Please sign in to comment.