File: 0001-fix-version-test-to-allow-text-before-clang.patch

package info (click to toggle)
castxml 0.1%2Bgit20180702-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,268 kB
  • sloc: cpp: 4,298; ansic: 267; sh: 85; makefile: 13
file content (19 lines) | stat: -rw-r--r-- 620 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: "Steve M. Robbins" <smr@sumost.ca>
Date: Tue, 14 Jul 2015 16:02:28 -0500
Subject: fix version test to allow text before 'clang'

Debian clang outputs "Debian clang ...".
---
 test/expect/cmd.version.stdout.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/expect/cmd.version.stdout.txt b/test/expect/cmd.version.stdout.txt
index 09e2e85..b20b524 100644
--- a/test/expect/cmd.version.stdout.txt
+++ b/test/expect/cmd.version.stdout.txt
@@ -2,4 +2,4 @@
 
 CastXML project maintained and supported by Kitware \(kitware.com\).
 
-clang version [0-9]+\.[0-9]+
+.*clang version [0-9]+\.[0-9]+