Skip to content

PsN Tests Are Not Run #4

@billdenney

Description

@billdenney

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions