Skip to content
Snippets Groups Projects
Commit a58c1a22 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Prevent *.pyc generation in source tree during PyPersistence functional test

parent 172a4800
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ function(test_example example tolerance) ...@@ -46,7 +46,7 @@ function(test_example example tolerance)
set(example_mod ${OUTPUT_DIR}/${EXAMPLE_NAME}_mod.py) set(example_mod ${OUTPUT_DIR}/${EXAMPLE_NAME}_mod.py)
configure_file(example_template.py ${example_mod} @ONLY) configure_file(example_template.py ${example_mod} @ONLY)
add_test(${test_name} ${PYTHON_EXECUTABLE} ${example_mod}) add_test(${test_name} ${PYTHON_EXECUTABLE} "-B" "${example_mod}")
endfunction() endfunction()
test_example("simulation/ex01_BasicParticles/CylindersAndPrisms" 2e-10) test_example("simulation/ex01_BasicParticles/CylindersAndPrisms" 2e-10)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment