-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add to_string methods to core classes (#549)
* py relay mpi remove uness debug print statements * add to_string methods to core classes * schema: deprecate detailed arg for save and to_json methods * eye crossing docs updates to use beg end sphinx style * tweak yaml output to supress extra newlines * py add node to_string() * update change log
- Loading branch information
Showing
65 changed files
with
2,356 additions
and
1,836 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#! /usr/bin/env python | ||
# note: run in build dir, expects src to be ../src from build dir | ||
import subprocess | ||
import os | ||
|
||
from os.path import join as pjoin | ||
|
||
tests = ["t_conduit_docs_tutorial_basics", | ||
"t_conduit_docs_tutorial_numeric", | ||
"t_conduit_docs_tutorial_parse", | ||
"t_conduit_docs_tutorial_ownership", | ||
"t_conduit_docs_tutorial_errors", | ||
# bp | ||
"t_conduit_docs_blueprint_demos", | ||
"t_conduit_docs_blueprint_examples", | ||
"t_conduit_docs_relay_io_generic_examples", | ||
"t_conduit_docs_relay_io_handle_examples", | ||
"t_conduit_docs_relay_io_hdf5_examples", | ||
# python | ||
"t_conduit_docs_tutorial_python_basics", | ||
"t_conduit_docs_tutorial_python_numeric", | ||
"t_conduit_docs_tutorial_python_ownership", | ||
"t_conduit_docs_tutorial_python_parse", | ||
"t_conduit_docs_tutorial_python_relay_io_handle_examples", | ||
"t_conduit_docs_tutorial_python_relay_mpi_examples"] | ||
|
||
|
||
dest_dir = "../src/docs/sphinx/" | ||
out_suffix = "_out.txt" | ||
|
||
for test in tests: | ||
if "python" in test: | ||
cmd = "ctest -VV -R {} > {}_out.txt".format(test,pjoin(dest_dir,test)) | ||
else: | ||
cmd = "tests/docs/{} > {}_out.txt".format(test,pjoin(dest_dir,test)) | ||
print(cmd) | ||
subprocess.call(cmd,shell=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.