buildtest.tools.docs
¶
Module Contents¶
Functions¶
|
This method will execute command for the tutorials examples. If returncode |
|
Given a shell command, we will write output to file. We will print first |
|
This method will build spack examples for the tutorial |
|
This method will build examples for compiler examples for the tutorial |
- buildtest.tools.docs.run(query)[source]¶
This method will execute command for the tutorials examples. If returncode is non-zero we raise exception otherwise we return output of command.
- Parameters
query (str) – Run a arbitrary shell command.
- buildtest.tools.docs.write_example(fname, command)[source]¶
Given a shell command, we will write output to file. We will print first 10 lines from upon writing file to ensure file was written properly.