Skip to content

Commit

Permalink
Fix one outstanding test
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Jan 17, 2024
1 parent adf03d5 commit cea12ab
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#=============================================================================
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
# Copyright (c) 2022-2024, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -58,6 +58,7 @@ endif()

set(to_match_string "set(files \"${CMAKE_CURRENT_BINARY_DIR}/example.diff;${CMAKE_CURRENT_BINARY_DIR}/example2.diff\")")

string(REPLACE " " ";" patch_command ${patch_command})
list(POP_BACK patch_command script_to_run)
file(READ "${script_to_run}" contents)
string(FIND "${contents}" "${to_match_string}" is_found)
Expand Down

0 comments on commit cea12ab

Please sign in to comment.