Recompile during for testing to build test binaries. Patch the test harness to find the test specific binaries in the build dir, even when changing the default bin path to test an installed build. Related: RHEL-219459
13 lines
340 B
Plaintext
13 lines
340 B
Plaintext
summary: Run upstream tests
|
|
component: [isns-utils]
|
|
require: [make, python3]
|
|
test: >
|
|
rpmbuild -bc
|
|
--define "_sourcedir $TMT_SOURCE_DIR"
|
|
--define "_builddir $TMT_SOURCE_DIR/BUILD"
|
|
--define "_vpath_builddir builddir"
|
|
$TMT_SOURCE_DIR/*.spec &&
|
|
cd $TMT_SOURCE_DIR/BUILD/open-isns-*/tests &&
|
|
make tests-as-installed
|
|
|