[neon/backports-focal/libgwenhywfar/Neon/release] debian/tests: Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.

Debian Janitor null at kde.org
Mon Sep 27 15:37:13 BST 2021


Git commit c380ca4f807bce566bc8154ef1b8f6c61cdc4006 by Debian Janitor.
Committed on 24/08/2021 at 14:38.
Pushed by jriddell into branch 'Neon/release'.

Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.

Changes-By: lintian-brush
Fixes: lintian: uses-deprecated-adttmp
See-also: https://lintian.debian.org/tags/uses-deprecated-adttmp.html

M  +4    -4    debian/tests/compile-test.inc.sh

https://invent.kde.org/neon/backports-focal/libgwenhywfar/commit/c380ca4f807bce566bc8154ef1b8f6c61cdc4006

diff --git a/debian/tests/compile-test.inc.sh b/debian/tests/compile-test.inc.sh
index de42cd6..483795c 100644
--- a/debian/tests/compile-test.inc.sh
+++ b/debian/tests/compile-test.inc.sh
@@ -16,12 +16,12 @@ compiletest() {
   echo "Using LIBS:   $LIBS"
   echo
   echo "Compiling ${name}.c"
-  echoexec gcc -c -o $ADTTMP/${name}.o debian/tests/src/${name}.c $CFLAGS
+  echoexec gcc -c -o $AUTOPKGTEST_TMP/${name}.o debian/tests/src/${name}.c $CFLAGS
   echo
   echo "Linking ${name}"
-  echoexec gcc -o $ADTTMP/$name $ADTTMP/${name}.o $LIBS
+  echoexec gcc -o $AUTOPKGTEST_TMP/$name $AUTOPKGTEST_TMP/${name}.o $LIBS
   echo
   echo "Execute built binary: ${name}"
-  chmod a+x $ADTTMP/$name
-  echoexec $ADTTMP/$name
+  chmod a+x $AUTOPKGTEST_TMP/$name
+  echoexec $AUTOPKGTEST_TMP/$name
 }



More information about the Neon-commits mailing list