CI run script version

Change-Id: I0e806854eb7db12656f7f1770642f20247fa6734


[ROCm/roctracer commit: d2135ad2c8]
This commit is contained in:
Evgeny
2020-06-04 17:31:18 -05:00
parent edeec18db9
commit 44c3c9f16d
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -66,5 +66,6 @@ add_subdirectory ( ${TEST_DIR} ${PROJECT_BINARY_DIR}/test/hsa )
## copying run script
execute_process ( COMMAND sh -xc "cp ${RUN_SCRIPT} ${PROJECT_BINARY_DIR}" )
execute_process ( COMMAND sh -xc "ln -s run.sh ${PROJECT_BINARY_DIR}/run_ci.sh" )
## copying tests output check script
execute_process ( COMMAND sh -xc "cp ${ROOT_DIR}/script/check_trace.py ${PROJECT_BINARY_DIR}/test/." )
+2 -1
View File
@@ -23,13 +23,14 @@
################################################################################
# cd to build directory
BIN_NAME=`basename $0`
BIN_DIR=`dirname $0`
cd $BIN_DIR
# enable tools load failure reporting
export HSA_TOOLS_REPORT_LOAD_FAILURE=1
# paths to ROC profiler and other libraries
if [ -n "$ROCTRACER_ROOT" ] ; then
if [ "$BIN_NAME" = "run_ci.sh" ] ; then
export LD_LIBRARY_PATH=$PWD/../../build/roctracer
else
export LD_LIBRARY_PATH=$PWD