* \author Teemu Murtola <teemu.murtola@gmail.com>
* \ingroup module_testutils
*/
+#include "gmxpre.h"
+
#include "testoptions.h"
#include <cstdio>
#include <gmock/gmock.h>
-#include "gromacs/legacyheaders/thread_mpi/mutex.h"
+#include "thread_mpi/mutex.h"
#include "gromacs/commandline/cmdlinehelpcontext.h"
#include "gromacs/commandline/cmdlinehelpwriter.h"
#include "gromacs/utility/errorcodes.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/file.h"
+#include "gromacs/utility/programcontext.h"
-#include "refdata.h"
-#include "testfilemanager.h"
-#include "mpi-printer.h"
+#include "testutils/mpi-printer.h"
+#include "testutils/refdata.h"
+#include "testutils/testfilemanager.h"
namespace gmx
{
{
/*! \brief
- * Singleton registry for test options added with GMX_TEST_OPTIONS.
+ * Singleton registry for test options added with #GMX_TEST_OPTIONS.
*
* \ingroup module_testutils
*/
"to control the behavior of the tests:\n\n");
CommandLineHelpContext context(&File::standardError(),
eHelpOutputFormat_Console, NULL);
+ context.setModuleDisplayName(getProgramContext().displayName());
CommandLineHelpWriter(options).writeHelp(context);
}
}
if (tempPath != NULL)
{
- TestFileManager::setOutputTempDirectory(tempPath);
+ TestFileManager::setGlobalOutputTempDirectory(tempPath);
}
bool bHelp = false;
Options options(NULL, NULL);