summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Akulich <akulichalexander@gmail.com>2020-11-01 18:10:22 +0300
committerAlexander Akulich <akulichalexander@gmail.com>2020-11-01 18:26:37 +0300
commit5b97f9d348c400630a61f8fe47f188f63e5a9b2a (patch)
treec310fc1f8fa2b0a8f2fd403d72af4bfdbaeaef0b
parentd47f2fbe9d027ddd6dd45d3bfc8ded06395ba951 (diff)
downloadtelepathy-idle-5b97f9d348c400630a61f8fe47f188f63e5a9b2a.tar.gz
Adjust tests/twisted/tools/exec-with-log.sh to optionally omit libtool
-rwxr-xr-xtests/twisted/tools/exec-with-log.sh.in6
-rw-r--r--tests/twisted/tools/meson.build1
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/twisted/tools/exec-with-log.sh.in b/tests/twisted/tools/exec-with-log.sh.in
index 3538044..0c82bd8 100755
--- a/tests/twisted/tools/exec-with-log.sh.in
+++ b/tests/twisted/tools/exec-with-log.sh.in
@@ -26,4 +26,8 @@ elif test -n "$IDLE_TEST_REFDBG"; then
fi
export G_DEBUG=fatal-warnings" ${G_DEBUG}"
-exec @abs_top_builddir@/libtool --mode=execute $IDLE_WRAPPER @abs_top_builddir@/src/telepathy-idle
+if test x"@omit_libtool@" = "xyes"; then
+ exec $IDLE_WRAPPER @abs_top_builddir@/src/telepathy-idle
+else
+ exec @abs_top_builddir@/libtool --mode=execute $IDLE_WRAPPER @abs_top_builddir@/src/telepathy-idle
+fi
diff --git a/tests/twisted/tools/meson.build b/tests/twisted/tools/meson.build
index c3d28b6..fe3a825 100644
--- a/tests/twisted/tools/meson.build
+++ b/tests/twisted/tools/meson.build
@@ -1,6 +1,7 @@
ewl_conf = configuration_data()
ewl_conf.set('abs_top_builddir', abs_top_builddir)
ewl_conf.set('abs_top_srcdir', abs_top_srcdir)
+ewl_conf.set('omit_libtool', 'yes')
configure_file(
input: 'exec-with-log.sh.in',