Skip to content

write output from C tests to temporary directory#1126

Merged
stevengj merged 4 commits intoNanoComp:masterfrom
oskooi:c_tests_output_tempdir
Feb 18, 2020
Merged

write output from C tests to temporary directory#1126
stevengj merged 4 commits intoNanoComp:masterfrom
oskooi:c_tests_output_tempdir

Conversation

@oskooi
Copy link
Copy Markdown
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.)

Comment thread tests/h5test.cpp Outdated
Comment thread src/output_directory.cpp Outdated
@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