add "verbose" option for debugging which will divert libcurl logging to the screen

This commit is contained in:
Axel Kohlmeyer
2024-08-07 13:08:35 -04:00
parent af68051981
commit 69294ef343
2 changed files with 10 additions and 4 deletions

View File

@ -36,7 +36,7 @@
#include <mpi.h>
// whether to print verbose output (i.e. not capturing LAMMPS screen output).
bool verbose = true;
bool verbose = false;
namespace LAMMPS_NS {
using ::testing::ContainsRegex;
@ -565,7 +565,6 @@ TEST_F(SimpleCommandsTest, Geturl)
platform::unlink("myindex.html");
if (Info::has_curl_support()) {
BEGIN_CAPTURE_OUTPUT();
command("shell curl -v -o myindex.html https://www.lammps.org/index.html");
command("geturl https://www.lammps.org/index.html");
command("geturl https://www.lammps.org/index.html output myindex.html");
END_CAPTURE_OUTPUT();