unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 3faeaf4a4fc78b36c5e11b7c8b8a1c1f627e276d 2430 bytes (raw)
name: gnu/packages/patches/elfutils-0.178-tests.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
 
https://sourceware.org/git/?p=elfutils.git;a=commit;h=3f445279b60b16b6cb062921b74ae400344b4a68

commit 3f445279b60b16b6cb062921b74ae400344b4a68
Author: Mark Wielaard <mark@klomp.org>
Date:   Thu Dec 5 14:22:56 2019 +0100

    tests: Run elfcompress under testrun in run-elfclassify.sh
    
    Otherwise elfcompress might run against the system libelf which might
    be too old or missing.
    
    Signed-off-by: Mark Wielaard <mark@klomp.org>

diff --git a/tests/run-elfclassify.sh b/tests/run-elfclassify.sh
index 5a849bbd..fb14139d 100755
--- a/tests/run-elfclassify.sh
+++ b/tests/run-elfclassify.sh
@@ -267,7 +267,7 @@ $(echo $kmod_files | sed -e "s/ /\n/g")
 EOF
 
 echo "gnu compressed kmods are unstripped"
-${abs_top_builddir}/src/elfcompress -t gnu --force $kmod_files
+testrun ${abs_top_builddir}/src/elfcompress -t gnu --force $kmod_files
 testrun ${abs_top_builddir}/src/elfclassify --unstripped $kmod_files
 testrun_compare ${abs_top_builddir}/src/elfclassify --unstripped --print $kmod_files <<EOF
 $(echo $kmod_files | sed -e "s/ /\n/g")
@@ -312,7 +312,7 @@ $(echo $debug_files | sed -e "s/ /\n/g")
 EOF
 
 echo "compress the debug sections and try again"
-${abs_top_builddir}/src/elfcompress -t gnu --force $debug_files
+testrun ${abs_top_builddir}/src/elfcompress -t gnu --force $debug_files
 
 echo "again unstripped"
 testrun ${abs_top_builddir}/src/elfclassify --unstripped $debug_files

https://sourceware.org/git/?p=elfutils.git;a=commit;h=eaffa79d52da7454044be53d28b525cebdb0093b

commit eaffa79d52da7454044be53d28b525cebdb0093b
Author: Mark Wielaard <mark@klomp.org>
Date:   Fri Dec 6 15:48:00 2019 +0100

    tests: Run strip under testrun in run-debuginfod-find.sh
    
    Otherwise strip might run against the system libelf which might be too
    old or missing.
    
    Signed-off-by: Mark Wielaard <mark@klomp.org>

diff --git a/tests/run-debuginfod-find.sh b/tests/run-debuginfod-find.sh
index 0ade03b7..6f92fbf1 100755
--- a/tests/run-debuginfod-find.sh
+++ b/tests/run-debuginfod-find.sh
@@ -102,7 +102,7 @@ export DEBUGINFOD_TIMEOUT=10
 echo "int main() { return 0; }" > ${PWD}/prog.c
 tempfiles prog.c
 gcc -g -o prog ${PWD}/prog.c
- ${abs_top_builddir}/src/strip -g -f prog.debug ${PWD}/prog
+testrun ${abs_top_builddir}/src/strip -g -f prog.debug ${PWD}/prog
 BUILDID=`env LD_LIBRARY_PATH=$ldpath ${abs_builddir}/../src/readelf \
           -a prog | grep 'Build ID' | cut -d ' ' -f 7`
 


debug log:

solving 3faeaf4a4f ...
found 3faeaf4a4f in https://yhetil.org/guix-patches/20200113000345.GA2825@wildebeest.org/

applying [1/1] https://yhetil.org/guix-patches/20200113000345.GA2825@wildebeest.org/
diff --git a/gnu/packages/patches/elfutils-0.178-tests.patch b/gnu/packages/patches/elfutils-0.178-tests.patch
new file mode 100644
index 0000000000..3faeaf4a4f

1:14: trailing whitespace.
    
1:17: trailing whitespace.
    
1:26: trailing whitespace.
 
1:35: trailing whitespace.
 
1:39: trailing whitespace.
 
Checking patch gnu/packages/patches/elfutils-0.178-tests.patch...
Applied patch gnu/packages/patches/elfutils-0.178-tests.patch cleanly.
warning: squelched 4 whitespace errors
warning: 9 lines add whitespace errors.

index at:
100644 3faeaf4a4fc78b36c5e11b7c8b8a1c1f627e276d	gnu/packages/patches/elfutils-0.178-tests.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).