add missing include
This commit is contained in:
@ -14,6 +14,7 @@
|
|||||||
#include "test_main.h"
|
#include "test_main.h"
|
||||||
#include "test_config.h"
|
#include "test_config.h"
|
||||||
#include "test_config_reader.h"
|
#include "test_config_reader.h"
|
||||||
|
#include "utils.h"
|
||||||
#include "gmock/gmock.h"
|
#include "gmock/gmock.h"
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
@ -23,6 +24,8 @@
|
|||||||
#include <mpi.h>
|
#include <mpi.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
using LAMMPS_NS::utils::split_words;
|
||||||
|
|
||||||
// common read_yaml_file function
|
// common read_yaml_file function
|
||||||
bool read_yaml_file(const char *infile, TestConfig &config)
|
bool read_yaml_file(const char *infile, TestConfig &config)
|
||||||
{
|
{
|
||||||
@ -79,7 +82,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// handle arguments passed via environment variable
|
// handle arguments passed via environment variable
|
||||||
std::vector<std::string> env = utils::split_words(getenv("TEST_ARGS"));
|
std::vector<std::string> env = split_words(getenv("TEST_ARGS"));
|
||||||
for (auto arg : env) {
|
for (auto arg : env) {
|
||||||
if (arg == "-u") {
|
if (arg == "-u") {
|
||||||
generate_yaml_file(argv[1], test_config);
|
generate_yaml_file(argv[1], test_config);
|
||||||
|
|||||||
Reference in New Issue
Block a user