Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
cetlib
cetlib
test
os_libpath_t.cc
Go to the documentation of this file.
1
#include "catch2/catch.hpp"
2
3
#include "
cetlib/os_libpath.h
"
4
5
#include <string>
6
7
TEST_CASE
(
"Basic test"
)
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
}
cet::os_libpath
constexpr char const * os_libpath()
Definition:
os_libpath.h:12
expected
const char expected[]
Definition:
Exception_t.cc:22
string
std::string string
Definition:
nybbler.cc:12
os_libpath.h
TEST_CASE
TEST_CASE("Basic test")
Definition:
os_libpath_t.cc:7
Generated by
1.8.11