kfdtest: Fix problems finding kfdtest.exclude
When running run_kfdtest.sh through a wrapper script that sources
run_kfdtest.sh, kfdtest.exclude isn't found because $0 points to the
location of the wrapper script. User $BASH_SOURCE instead of $0 to
find the location of the correct run_kfdtest.sh script.
Change-Id: I0ae7899e527e6d98bb8651197484e5ee03a5fd7b
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
[ROCm/ROCR-Runtime commit: 8ee763d94a]
Этот коммит содержится в:
@@ -23,7 +23,7 @@
|
||||
#
|
||||
|
||||
# See if we can find the SHARE/BIN dirs in their expected locations
|
||||
CWD="${0%/*}"
|
||||
CWD="${BASH_SOURCE%/*}"
|
||||
while read candidate; do
|
||||
if [ -e "$candidate/kfdtest.exclude" ]; then
|
||||
source "$candidate/kfdtest.exclude"
|
||||
|
||||
Ссылка в новой задаче
Block a user