Merge "CI run script version" into amd-master

이 커밋은 다음에 포함됨:
Evgeny Shcherbakov
2020-06-04 20:31:41 -04:00
커밋한 사람 Gerrit Code Review
2개의 변경된 파일과 3개의 추가작업 그리고 1개의 파일을 삭제
+1
파일 보기
@@ -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
파일 보기
@@ -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