Merge "CI run script version" into amd-master
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -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
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user