summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-07-07 20:02:33 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-07-07 20:02:33 -0400
commit09c5b01997e1d34e799a8a0ee3571bd181f9a665 (patch)
treeac0cc91a864b43da30327c0b0d210d53b0781bbc
parent8aa3a0a7ed8cf3e3fedb2c98d6ea336fdd45e296 (diff)
SL-18837: Hook in LLDir to allow reading APR log file.
-rw-r--r--indra/llcommon/CMakeLists.txt2
-rw-r--r--indra/llcommon/tests/llprocess_test.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/CMakeLists.txt b/indra/llcommon/CMakeLists.txt
index 54020a4231..7412514e6b 100644
--- a/indra/llcommon/CMakeLists.txt
+++ b/indra/llcommon/CMakeLists.txt
@@ -308,7 +308,7 @@ if (LL_TESTS)
LL_ADD_INTEGRATION_TEST(llleap "" "${test_libs}")
LL_ADD_INTEGRATION_TEST(llmainthreadtask "" "${test_libs}")
LL_ADD_INTEGRATION_TEST(llpounceable "" "${test_libs}")
- LL_ADD_INTEGRATION_TEST(llprocess "" "${test_libs}")
+ LL_ADD_INTEGRATION_TEST(llprocess "" "${test_libs};llfilesystem")
LL_ADD_INTEGRATION_TEST(llprocessor "" "${test_libs}")
LL_ADD_INTEGRATION_TEST(llprocinfo "" "${test_libs}")
LL_ADD_INTEGRATION_TEST(llrand "" "${test_libs}")
diff --git a/indra/llcommon/tests/llprocess_test.cpp b/indra/llcommon/tests/llprocess_test.cpp
index fb5cf12cb2..c6091bfeb1 100644
--- a/indra/llcommon/tests/llprocess_test.cpp
+++ b/indra/llcommon/tests/llprocess_test.cpp
@@ -175,7 +175,7 @@ struct PythonProcessLauncher
LL_WARNS() << "==============================" << LL_ENDL;
LL_WARNS() << "From '" << logpath << "':" << LL_ENDL;
std::string line;
- while (std::getline(line, inf))
+ while (std::getline(inf, line))
{
LL_WARNS() << line << LL_ENDL;
}