add missing include

This commit is contained in:
Axel Kohlmeyer
2020-06-24 09:34:40 -04:00
parent 5ea9b1b38d
commit 6824b69ae9

View File

@ -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);