Skip to content

TC tests fixes#71

Merged
danielhollas merged 1 commit into
masterfrom
tc-tests-fixes
Oct 4, 2021
Merged

TC tests fixes#71
danielhollas merged 1 commit into
masterfrom
tc-tests-fixes

Conversation

@danielhollas

@danielhollas danielhollas commented Sep 28, 2021

Copy link
Copy Markdown
Contributor
  • Sometimes if a test failed, it left running processes behind.
    I made sure that the trap command and cleanup functions are defined
    BEFORE we start tc_server or ABIN. Now this should behave better,
    even if we manually stop running test suite in the middle.

  • Bump MPICH version in GitHub CI

This PR is based on #70, I'll rebase this when #70 gets merged.

@danielhollas danielhollas self-assigned this Sep 28, 2021
@codecov

codecov Bot commented Sep 28, 2021

Copy link
Copy Markdown

Codecov Report

Merging #71 (6428dce) into master (9a58f6e) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #71   +/-   ##
=======================================
  Coverage   68.99%   68.99%           
=======================================
  Files          38       38           
  Lines        5689     5689           
=======================================
  Hits         3925     3925           
  Misses       1764     1764           
Impacted Files Coverage Δ
src/modules.F90 56.46% <100.00%> (ø)

# in the TERAPI*/test.sh scripts.
cleanup() {
kill_processeses $*
kill_processes $*

@danielhollas danielhollas Sep 29, 2021

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, I hate the word 'process' 😑

@danielhollas danielhollas force-pushed the tc-tests-fixes branch 2 times, most recently from 3b40dfa to a297b10 Compare October 1, 2021 18:26
@danielhollas danielhollas marked this pull request as ready for review October 1, 2021 18:39
@danielhollas danielhollas requested a review from suchanj October 1, 2021 18:39
@danielhollas

Copy link
Copy Markdown
Contributor Author

@suchanj this one is also ready for review. Nothing very interesting here...

- Sometimes when a test failed, it left running processes behind.
I made sure that the trap command and cleanup functions are defined
BEFORE we start tc_server or ABIN. Now this should behave better,
even if we manually stop running test suite in the middle.

- Bump MPICH version in GitHub CI
@danielhollas danielhollas merged commit 97b58cb into master Oct 4, 2021
@danielhollas danielhollas deleted the tc-tests-fixes branch October 4, 2021 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants