Skip to content

Commit c082687

Browse files
authored
Add section on diagnosing pluginVsInstall testing errors. (#17378)
1 parent b9edef6 commit c082687

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

src/doc/dev_manual/test_suite.rst

+21-1
Original file line numberDiff line numberDiff line change
@@ -405,14 +405,34 @@ results dashboard are suitable for using as baseline results. To use this script
405405
Once you've completed using ``rebase.py`` to update image baselines, don't forget to commit your changes back
406406
to the repository.
407407

408-
408+
409409
Using VisIt_ Test Suite for Sim Code Testing
410410
--------------------------------------------
411411
VisIt_'s testing infrastructure can also be used from a VisIt_ install by simulation codes
412412
how want to write their own Visit-based tests.
413413
For more details about this, see: `Leveraging VisIt in Sim Code RegressionTesting <http://visitusers.org/index.php?title=Leveraging_VisIt_in_Sim_Code_Regression_Testing>`_
414414

415415

416+
Diagnosing pluginVsInstall failures
417+
-----------------------------------
418+
pluginsVsInstall test output is generated in the ``current/plugins`` subdirectory of the test results location.
419+
There will be a further subdirectory for each type of plugin: databasesVsInstall, operatorsVsInstall and plotsVsInstall.
420+
The output consists of text files containing the name of each plugin tested and either ``success`` or one of the following errors:
421+
422+
* ``No installed package.`` Indicates a failure in install of VisIt.
423+
* ``cmake configure failed`` Failure with cmake to configure the plugin for build.
424+
* ``make failed`` Failure with the build of the plugin.
425+
* ``cmake executable could not be found`` (rare, just for completeness)
426+
* ``make executable could not be found`` (rare, just for completeness)
427+
428+
When failure occurs, another output file is generated in ``logs/plugins`` subdirectory in the form ``<PluginName>_build_res.txt`` which should contain sufficient information for fixing the error.
429+
430+
The most likely culprit for errors is missing information in one of the following files:
431+
432+
* ``src/include/visit-cmake.h.in`` -- Holds all the #defines needed for a build (HAVE_LIBXXX, etc).
433+
* ``src/CMake/PluginVsInstall.cmake.in`` -- Ensures third-party include/library locations are correct for an install.
434+
* ``src/CMake/FilterDependnecies.cmake.in`` -- Filters library dependency paths to account for differences between locations of third-party libraries used in a build vs. where they are located within an installed version of VisIt.
435+
416436
.. CYRUS NOTE: This info seems to old to be relevant, but keeping here commented out just in case.
417437
..
418438
.. == Troubleshooting ==

0 commit comments

Comments
 (0)