Functions
os_libpath_t.cc File Reference
#include "catch2/catch.hpp"
#include "cetlib/os_libpath.h"
#include <string>

Go to the source code of this file.

Functions

 TEST_CASE ("Basic test")
 

Function Documentation

TEST_CASE ( "Basic test )

Definition at line 7 of file os_libpath_t.cc.

8 {
9  std::string const expected =
10 #ifdef __APPLE__
11  "DYLD_LIBRARY_PATH";
12 #else
13  "LD_LIBRARY_PATH";
14 #endif
15 
16  char const* lpath = cet::os_libpath();
17  CHECK(expected == lpath);
18 }
constexpr char const * os_libpath()
Definition: os_libpath.h:12
const char expected[]
Definition: Exception_t.cc:22
std::string string
Definition: nybbler.cc:12