[Pkg-haskell-commits] darcs: ghc-testsuite: Actually put the log file in the binary...

Joachim Breitner mail at joachim-breitner.de
Sat Jan 7 17:43:00 UTC 2012


Sat Jan  7 17:24:23 UTC 2012  Joachim Breitner <mail at joachim-breitner.de>
  * Actually put the log file in the binary... 
  Ignore-this: 20fdfffc781d59309830aea9cc24a4a8

    M ./changelog +6
    M ./rules -2 +6

Sat Jan  7 17:24:23 UTC 2012  Joachim Breitner <mail at joachim-breitner.de>
  * Actually put the log file in the binary... 
  Ignore-this: 20fdfffc781d59309830aea9cc24a4a8
diff -rN -u old-ghc-testsuite//changelog new-ghc-testsuite//changelog
--- old-ghc-testsuite//changelog	2012-01-07 17:42:59.946186452 +0000
+++ new-ghc-testsuite//changelog	2012-01-07 17:42:59.990177012 +0000
@@ -1,3 +1,9 @@
+ghc-testsuite (7.0.4-2) UNRELEASED; urgency=low
+
+  * Actually put the log file in the binary... 
+
+ -- Joachim Breitner <nomeata at debian.org>  Sat, 07 Jan 2012 18:14:02 +0100
+
 ghc-testsuite (7.0.4-1) unstable; urgency=low
 
   * Initial release
diff -rN -u old-ghc-testsuite//rules new-ghc-testsuite//rules
--- old-ghc-testsuite//rules	2012-01-07 17:42:59.946186452 +0000
+++ new-ghc-testsuite//rules	2012-01-07 17:42:59.950181852 +0000
@@ -9,13 +9,17 @@
 
 override_dh_auto_build:
 	cp -al testsuite testsuite-run
-	mkdir -p debian/ghc-testsuite/usr/share/doc/ghc-testsuite
 	# Does not seem to work:
 	# OUTPUT_SUMMARY="$(CURDIR)/debian/ghc-testsuite/usr/share/doc/ghc-testsuite/result.txt" 
 	make -C testsuite-run \
 		SKIPWAY="optc profc optllvm" \
 		fast=YES \
-		2>&1 | tee "$(CURDIR)/debian/ghc-testsuite/usr/share/doc/ghc-testsuite/result.txt"
+		2>&1 | tee result.txt
+
+override_dh_auto_install:
+	mkdir -p debian/ghc-testsuite/usr/share/doc/ghc-testsuite
+	cp result.txt "$(CURDIR)/debian/ghc-testsuite/usr/share/doc/ghc-testsuite/result.txt"
 
 override_dh_auto_clean:
 	rm -rf testsuite-run
+	rm -f result.txt





More information about the Pkg-haskell-commits mailing list