Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write output from C tests to temporary directory #1126

Merged
merged 4 commits into from
Feb 18, 2020

Conversation

oskooi
Copy link
Collaborator

@oskooi oskooi commented Feb 15, 2020

Following #1121 and #1122, the output from the C test suite is written to a temporary directory rather than a subdirectory. Of the 19 tests only one (tests/h5test.cpp) actually produces HDF5 output files. For some reason, six of the other tests create an output directory even though no files were being written. This has been corrected.

Finally, following the discussion earlier today, Tutorials/Eigenmode Source/Index-Guided Modes in a Ridge Waveguide has been updated to explicitly mention that the eigenmode source does not need to span the entire length of the cell.

(All tests pass when NanoComp/libctl#53 is excluded.)

tests/h5test.cpp Outdated Show resolved Hide resolved
src/output_directory.cpp Outdated Show resolved Hide resolved
@stevengj stevengj merged commit bc8c0cb into NanoComp:master Feb 18, 2020
@oskooi oskooi deleted the c_tests_output_tempdir branch February 18, 2020 17:55
bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
* write output from C tests to temporary directory

* fix

* replace rmdir with POSIX ntfw

* put am_master before nftw rather than delete_directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants