-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In the current version, PsN tests are not run to verify the installation is successful. This is related to #3 because the NONMEM license is not yet installed, so the tests cannot run.
Generally, I may update my PsN installation more often (approximately annually) than my NONMEM installation, so I may need to update the license file in the PsN installation separately from the NONMEM Docker image. I'd propose a similar fix to the license issue as in #3, and additionally, scripting like the following to run the tests:
&& if [ -n "$NONMEM_LICENSE_STRING" ]; then echo $NONMEM_LICENSE_STRING > /opt/nm/license/nonmem.lic ; fi \
&& cd /usr/local/share/perl/*/PsN_test* \
&& prove -r unit \
&& prove -r system \
&& rm -r /usr/local/share/perl/*/PsN_test* \
The suggested code additionally removes the test directory after completion because it should no longer be required.
Metadata
Metadata
Assignees
Labels
No labels