summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xselftest/gdb_backtrace (renamed from source4/script/gdb_backtrace)0
-rw-r--r--selftest/gdb_backtrace_test.c (renamed from source4/script/gdb_backtrace_test.c)0
-rwxr-xr-xselftest/gdb_run (renamed from source4/script/gdb_run)0
-rwxr-xr-xselftest/selftest.pl2
-rw-r--r--selftest/target/Samba4.pm2
-rwxr-xr-xselftest/valgrind_run (renamed from source4/script/valgrind_run)0
-rw-r--r--source4/selftest/config.mk13
7 files changed, 9 insertions, 8 deletions
diff --git a/source4/script/gdb_backtrace b/selftest/gdb_backtrace
index 826381e900..826381e900 100755
--- a/source4/script/gdb_backtrace
+++ b/selftest/gdb_backtrace
diff --git a/source4/script/gdb_backtrace_test.c b/selftest/gdb_backtrace_test.c
index 506784f675..506784f675 100644
--- a/source4/script/gdb_backtrace_test.c
+++ b/selftest/gdb_backtrace_test.c
diff --git a/source4/script/gdb_run b/selftest/gdb_run
index 8ad101ed60..8ad101ed60 100755
--- a/source4/script/gdb_run
+++ b/selftest/gdb_run
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 2484bd0687..aa99b2ed6f 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -573,7 +573,7 @@ sub write_clientconf($$)
print CF "
private dir = $prefix_abs/client/private
name resolve order = bcast
- panic action = $srcdir_abs/script/gdb_backtrace \%PID\% \%PROG\%
+ panic action = $RealBin/gdb_backtrace \%PID\% \%PROG\%
max xmit = 32K
notify:inotify = false
ldb:nosync = true
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 9364008ee2..8c79a31448 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -562,7 +562,7 @@ sub provision($$$$$$)
name resolve order = bcast
interfaces = $interfaces
tls dh params file = $tlsdir/dhparms.pem
- panic action = $srcdir/script/gdb_backtrace \%PID% \%PROG%
+ panic action = $RealBin/gdb_backtrace \%PID% \%PROG%
wins support = yes
server role = $server_role
max xmit = 32K
diff --git a/source4/script/valgrind_run b/selftest/valgrind_run
index 5171d171a7..5171d171a7 100755
--- a/source4/script/valgrind_run
+++ b/selftest/valgrind_run
diff --git a/source4/selftest/config.mk b/source4/selftest/config.mk
index 43c5855d3a..c5f7c5adb4 100644
--- a/source4/selftest/config.mk
+++ b/source4/selftest/config.mk
@@ -58,30 +58,31 @@ test-%::
valgrindtest:: valgrindtest-all
valgrindtest-quick:: all
- SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
+ SMBD_VALGRIND="xterm -n server -e $(selftestdir)/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
$(SELFTEST) $(SELFTEST_QUICK_OPTS) --immediate --socket-wrapper $(TESTS)
valgrindtest-all:: everything
- SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
+ SMBD_VALGRIND="xterm -n server -e $(selftestdir)/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
$(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --immediate --socket-wrapper $(TESTS)
valgrindtest-env:: everything
- SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
+ SMBD_VALGRIND="xterm -n server -e $(selftestdir)/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
$(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper --testenv
gdbtest:: gdbtest-all
gdbtest-quick:: all
- SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/gdb_run $(LD_LIBPATH_OVERRIDE)" \
+ SMBD_VALGRIND="xterm -n server -e $(selftestdir)/gdb_run $(LD_LIBPATH_OVERRIDE)" \
$(SELFTEST) $(SELFTEST_QUICK_OPTS) --immediate --socket-wrapper $(TESTS)
gdbtest-all:: everything
- SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/gdb_run $(LD_LIBPATH_OVERRIDE)" \
+ SMBD_VALGRIND="xterm -n server -e $(selftestdir)/gdb_run $(LD_LIBPATH_OVERRIDE)" \
$(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --immediate --socket-wrapper $(TESTS)
gdbtest-env:: everything
- SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/gdb_run $(LD_LIBPATH_OVERRIDE)" \
+ SMBD_VALGRIND="xterm -n server -e $(selftestdir)/gdb_run $(LD_LIBPATH_OVERRIDE)" \
$(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper --testenv
+