mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
skip mcpl-test if it is not enabled
patterned after the dagmc-tests This required the MCPL_ENABLED symbol to be unmangled
This commit is contained in:
parent
9865a129c4
commit
ff48f53595
2 changed files with 6 additions and 2 deletions
|
|
@ -32,6 +32,7 @@ constexpr double EXTSRC_REJECT_FRACTION {0.05};
|
|||
//==============================================================================
|
||||
// Global variables
|
||||
//==============================================================================
|
||||
extern "C" const bool MCPL_ENABLED;
|
||||
|
||||
class Source;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import openmc.lib
|
||||
import pytest
|
||||
import glob
|
||||
import os
|
||||
|
||||
from tests.testing_harness import *
|
||||
|
||||
pytestmark = pytest.mark.skipif(
|
||||
not openmc.lib._mcpl_enabled(),
|
||||
reason="MCPL is not enabled.")
|
||||
|
||||
settings1="""<?xml version="1.0"?>
|
||||
<settings>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue