File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -75,11 +75,11 @@ jobs:
75
75
- name : Setup castxml for Linux
76
76
if : matrix.os == 'ubuntu-18.04' && matrix.castxml == 'castxml'
77
77
run : |
78
- wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/f43ef30267c850872cf1e8ea8594c5dc6a1beb7c343d63875662ee7c648dac4f9214c915499ef2e1148f2b5f866e4c518ca1a21fb5055baba7d62f4f69097ba0 /download | tar zxf - -C ~/
78
+ wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/b580374e48d4df68f8ebef6d0e71cd8cc3f2dfa28f0090e07cc043d11cee308aeea480092fe2e93f2d4c58f822a5c013c1c7121964372d28ee4069949a378b4c /download | tar zxf - -C ~/
79
79
- name : Setup castxml for Mac
80
80
if : matrix.os == 'macos-latest'
81
81
run : |
82
- wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/88c9b5954ca7417f7b519f3006dc6fe4bd194af0837168edc30007a41eaae6d4eee97cef2a72747432af14941c7f60333b77c25e208b2540dcde2d61e0d0e6f3 /download | tar zxf - -C ~/
82
+ wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/e5962372508abd295f8a8110a20142bcbd93c235f72afba34b0abb3918a623f27465a7674b5532320e770f56fddb99019f5c47b254cea9f862a2df35630c2879 /download | tar zxf - -C ~/
83
83
- name : Setup castxml config
84
84
if : matrix.compiler == 'gcc' && matrix.version == '7'
85
85
run : mv unittests/configs/gcc7.cfg unittests/xml_generator.cfg;
Original file line number Diff line number Diff line change 3
3
# Distributed under the Boost Software License, Version 1.0.
4
4
# See http://www.boost.org/LICENSE_1_0.txt
5
5
6
- import re
7
- import subprocess
8
6
import unittest
9
7
10
8
from . import parser_test_case
@@ -40,20 +38,6 @@ def test(self):
40
38
if self .config .castxml_epic_version != 1 :
41
39
# Run this test only with castxml epic version == 1
42
40
return
43
- # Try to capture CastXML's patch version: 0.3.<###>
44
- # If the version is <= 0.3.6, return as the functionality doesn't exist
45
- # Else, continue on with the test.
46
- rtn = subprocess .run (
47
- [self .config .xml_generator_path , "--version" ],
48
- stdout = subprocess .PIPE
49
- )
50
- version_regex = re .compile (
51
- b"castxml version 0.3.(?P<patch_ver>[0-9]+)"
52
- )
53
- reg_match = re .match (version_regex , rtn .stdout )
54
- if reg_match :
55
- if int (reg_match .group ("patch_ver" )) <= 6 :
56
- return
57
41
tnamespace = self .global_ns .namespace ("comment" )
58
42
59
43
self .assertIn ("comment" , dir (tnamespace ))
You can’t perform that action at this time.
0 commit comments