Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Objective:

After PTL rpm Installation, the user has to cd to tests dir to execute test cases. We have -f option in pbs_benchpress but it supports only file. But we cannot use it to run a whole bunch of different tests.

when user runs pbs_benchpress -t testcase, it should do a path search – search current directory, next search test case in installed location.

Description

Currently, PTL doesn't support running test case from non-test directory using pbs_benchpress TestExecution option ('-t') i.e. a directory where all tests exist.

...

Forum discussion at : http://community.pbspro.org/t/enhancement-of-pbs-benchpress-to-run-from-non-tests-directory/1660

PR : https://github.com/PBSPro/pbspro/pull/1165

Details:

File : utils/plugins/ptl_test_loader.py

...