Skip to content

Commit 58171c2

Browse files
[arcane,tests] Ajoute test écriture au format MSH 4.1.
1 parent 3cc7657 commit 58171c2

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" ?>
2+
<case codename="ArcaneTest" xml:lang="en" codeversion="1.0">
3+
<arcane>
4+
<title>Test non manifold mesh</title>
5+
<description>Test non manifold mesh</description>
6+
<timeloop>UnitTest</timeloop>
7+
</arcane>
8+
<meshes>
9+
<mesh>
10+
<filename>mesh_with_loose_items.msh</filename>
11+
<non-manifold-mesh>true</non-manifold-mesh>
12+
<face-numbering-version>0</face-numbering-version>
13+
</mesh>
14+
</meshes>
15+
16+
<unit-test-module>
17+
<test name="MeshUnitTest">
18+
<create-edges>true</create-edges>
19+
<write-mesh-service-name>MshNewMeshWriter</write-mesh-service-name>
20+
</test>
21+
</unit-test-module>
22+
</case>

arccore/src/base/tests/CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ arccore_add_component_test_executable(base
1111
)
1212

1313
target_link_libraries(arccore_base.tests PUBLIC arccore_base GTest::GTest GTest::Main)
14-
14+
if(CMAKE_COMPILER_IS_GNUCXX)
15+
target_compile_options(arccore_base.tests PRIVATE -fext-numeric-literals)
16+
endif()
1517
gtest_discover_tests(arccore_base.tests DISCOVERY_TIMEOUT 30)

0 commit comments

Comments
 (0)