Skip to content

Commit

Permalink
Merge pull request #77 from casparvl/vega_ci_hostname
Browse files Browse the repository at this point in the history
Print more info, and add performance report to the stdout
  • Loading branch information
satishskamath authored Aug 7, 2023
2 parents 313645f + 91d90f3 commit 7ef1ae8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/run_reframe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
# Setup instructions: make sure you have your github access key configured in your .ssh/config
# i.e. configure an entry with HostName github.com and IdentityFile pointing to the ssh key registered with Github

# Print info on the when and where this is ran
# Allows easy localization of the host with the cronjob
DATE=$(date)
HOST=$(hostname)
echo "Starting test suite on ${HOST} at ${date}"

# Configurable items
TEMPDIR=$(mktemp --directory --tmpdir=/tmp -t rfm.XXXXXXXXXX)
RFM_CONFIG_NAME=izum_vega.py
Expand Down Expand Up @@ -38,7 +44,7 @@ source ${TEMPDIR}/${REFRAME_VENV}/bin/activate

# Run ReFrame
echo "PYTHONPATH: ${PYTHONPATH}"
reframe -C ${TEMPDIR}/test-suite/config/${RFM_CONFIG_NAME} -c ${TEMPDIR}/test-suite/eessi/testsuite/tests/apps/ -R -t CI ${TAGS} -r
reframe -C ${TEMPDIR}/test-suite/config/${RFM_CONFIG_NAME} -c ${TEMPDIR}/test-suite/eessi/testsuite/tests/apps/ -R -t CI ${TAGS} -r --performance-report

# Cleanup
rm -rf ${TEMPDIR}

0 comments on commit 7ef1ae8

Please sign in to comment.