Control: tags 960715 + patch
Control: tags 960715 + pending

Dear maintainer,

I've prepared an NMU for cunit (versioned as 2.1-3-dfsg-2.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer or cancel the NMU.

Regards,

Regis Fernandes Gontijo

--- cunit-2.1-3-dfsg/debian/changelog   2015-12-26 22:22:24.000000000 +0000
+++ cunit-2.1-3-dfsg/debian/changelog   2020-06-08 04:49:43.000000000 +0000
@@ -1,3 +1,13 @@
+cunit (2.1-3-dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/tests/: (Closes: #960715)
+      - control: set 'Depends: gcc' because autopkgtest needs to build
+        a binary to run the CI test.
+      - test.sh: fixed gcc build command.
+
+ -- Regis Fernandes Gontijo <regi...@gmail.com>  Mon, 08 Jun 2020 04:49:43 
+0000
+
 cunit (2.1-3-dfsg-2) unstable; urgency=medium

   * Remove doc/headers/*.h, since they will be generated from CUnit/Headers
@@ -137,4 +147,3 @@
   * Initial release (Closes: #293009)

  -- Philipp Benner <m...@philipp-benner.de>  Mon, 18 Sep 2006 19:58:21 +0200
-
diff -Nru cunit-2.1-3-dfsg/debian/tests/control 
cunit-2.1-3-dfsg/debian/tests/control
--- cunit-2.1-3-dfsg/debian/tests/control       2015-10-12 20:15:36.000000000 
+0000
+++ cunit-2.1-3-dfsg/debian/tests/control       2020-06-08 04:49:43.000000000 
+0000
@@ -1,3 +1,3 @@
 Tests: test.sh
-Depends:
+Depends: gcc
 Restrictions: build-needed
diff -Nru cunit-2.1-3-dfsg/debian/tests/test.sh 
cunit-2.1-3-dfsg/debian/tests/test.sh
--- cunit-2.1-3-dfsg/debian/tests/test.sh       2015-10-12 20:15:36.000000000 
+0000
+++ cunit-2.1-3-dfsg/debian/tests/test.sh       2020-06-08 04:49:43.000000000 
+0000
@@ -4,6 +4,6 @@
     LIB="$(echo "$PWD/$d"/usr/lib/*)"
     INC="$PWD/$d/usr/include"

-    gcc -Wall -L"$LIB" -I"$INC" -lcunit -o "$ADTTMP/test" debian/tests/test.c
+    gcc debian/tests/test.c -Wall -L"$LIB" -I"$INC" -lcunit -o "$ADTTMP/test"
     LD_LIBRARY_PATH="$LIB" "$ADTTMP/test"
 done

Reply via email to