azure-sdk-for-cpp/cmake-modules/TestProxyPrep.cmake
George Arama 3762c59552
Test proxy start (#4295)
* lll

* sss

* oipio

* vcvc

* enable test proxy start at test suite start for KV and storage , example created for attestation, we cannot find the base definitions for the test suites,

* Contrib

* clangs

* clangs

* test logs

* pipeline

* more clangs

* pipeline

* clang

* try try again

* try try again

* try again

* try again

* again

* update paths , moved to macro , call macro in target code

* core

* capitalization
2023-02-07 10:52:20 -08:00

14 lines
501 B
CMake

# Copyright (c) Microsoft Corporation. All rights reserved.
# SPDX-License-Identifier: MIT
#
macro(SetUpTestProxy subDir)
# assets.json dir
add_compile_definitions(AZURE_TEST_ASSETS_DIR="${AZ_ROOT_DIR}/${subDir}/")
#copy start stop scripts to the bin folder
file(COPY ${AZ_ROOT_DIR}/eng/scripts/Start-TestProxy.ps1
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(COPY ${AZ_ROOT_DIR}/eng/scripts/Stop-TestProxy.ps1
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
endmacro()