Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass/tests: flag-o-matic.sh
Date: Sat, 02 Nov 2013 03:18:04
Message-Id: 20131102031758.BFDBA2004E@flycatcher.gentoo.org
1 dirtyepic 13/11/02 03:17:58
2
3 Modified: flag-o-matic.sh
4 Log:
5 Account for leading whitespace in append-cflags tests.
6
7 Revision Changes Path
8 1.7 eclass/tests/flag-o-matic.sh
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tests/flag-o-matic.sh?rev=1.7&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tests/flag-o-matic.sh?rev=1.7&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tests/flag-o-matic.sh?r1=1.6&r2=1.7
13
14 Index: flag-o-matic.sh
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/tests/flag-o-matic.sh,v
17 retrieving revision 1.6
18 retrieving revision 1.7
19 diff -u -r1.6 -r1.7
20 --- flag-o-matic.sh 11 Nov 2012 20:00:57 -0000 1.6
21 +++ flag-o-matic.sh 2 Nov 2013 03:17:58 -0000 1.7
22 @@ -101,13 +101,13 @@
23 tbegin "append-cflags basic"
24 CFLAGS=
25 append-cflags -O0
26 -[[ ${CFLAGS} == "-O0" ]]
27 +[[ ${CFLAGS} == " -O0" ]]
28 ftend
29
30 tbegin "append-cflags -DFOO='a b c'"
31 CFLAGS=
32 append-cflags '-DFOO="a b c"'
33 -[[ ${CFLAGS} == '-DFOO="a b c"' ]]
34 +[[ ${CFLAGS} == ' -DFOO="a b c"' ]]
35 ftend
36
37 tbegin "raw-ldflags"