-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More fixes to ROCMTest module (#143)
* Test for test package is enabled * Fix installation of tests * Add test * Add install-tests target * Remove other exclude_from_all
- Loading branch information
Showing
4 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# ###################################################################################################################### | ||
# Copyright (C) 2023 Advanced Micro Devices, Inc. | ||
# ###################################################################################################################### | ||
|
||
configure_dir(${TEST_DIR}/libsimpletest TARGETS package BUILD_DIR_VAR BUILD_DIR) | ||
file(GLOB TEST_PACKAGE ${BUILD_DIR}/*-tests.tar.gz) | ||
list(LENGTH TEST_PACKAGE NTEST_PACKAGE) | ||
test_expect_eq(${NTEST_PACKAGE} 1) | ||
test_exec(COMMAND ${CMAKE_COMMAND} -E tar t ${TEST_PACKAGE}) | ||
test_exec(COMMAND ${CMAKE_COMMAND} -E tar x ${TEST_PACKAGE} WORKING_DIRECTORY /) | ||
test_expect_file(${PREFIX}/share/test/simple/CTestTestfile.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters