Skip to content

Commit

Permalink
Fix tests to ensure find_package(ROCM) emits a deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 committed Nov 21, 2024
1 parent ba7fbae commit 87c9dc9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions test/fail/rename-compatibility.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ######################################################################################################################
# Copyright (C) 2023 Advanced Micro Devices, Inc.
# ######################################################################################################################

install_dir(${TEST_DIR}/libsimplecompat TARGETS package)
test_check_package(
NAME simple
HEADER simple.h
TARGET simple)
2 changes: 1 addition & 1 deletion test/pass/rename-compatibility.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (C) 2023 Advanced Micro Devices, Inc.
# ######################################################################################################################

install_dir(${TEST_DIR}/libsimplecompat TARGETS package)
install_dir(${TEST_DIR}/libsimplecompat TARGETS package CMAKE_ARGS -Wno-deprecated)
test_check_package(
NAME simple
HEADER simple.h
Expand Down

0 comments on commit 87c9dc9

Please sign in to comment.