Commit e66a3a6a authored by Georgios Bitzes's avatar Georgios Bitzes
Browse files

Fix paths in test section

parent 845d2e1c
Pipeline #1255634 failed with stages
in 14 minutes and 22 seconds
......@@ -134,12 +134,12 @@ int main() {
}
EOL
LD_LIBRARY_PATH=${RPM_BUILD_ROOT}/opt/eos-folly/lib ldd -r ${RPM_BUILD_ROOT}/opt/eos-folly/lib/libfolly.so
g++ main.cc -fPIC -I${RPM_BUILD_ROOT}/opt/eos-folly/include ${CXXFLAGS} -std=c++14 -L${RPM_BUILD_ROOT}/opt/eos-folly/lib/ -lfolly -lpthread ${LIBTSAN} -shared -o aaa.so
LD_LIBRARY_PATH=${RPM_BUILD_ROOT}/opt/eos-folly/lib g++ main.cc ${CXXFLAGS} -fPIC -I${RPM_BUILD_ROOT}/opt/eos-folly/include -std=c++14 -L${RPM_BUILD_ROOT}/opt/eos-folly/lib/ -lfolly -lpthread -lglog ${LIBTSAN}
LD_LIBRARY_PATH=/opt/eos-folly/lib ldd -r /opt/eos-folly/lib/libfolly.so
g++ main.cc -fPIC -I/opt/eos-folly/include ${CXXFLAGS} -std=c++14 -L/opt/eos-folly/lib/ -lfolly -lpthread ${LIBTSAN} -shared -o aaa.so
LD_LIBRARY_PATH=/opt/eos-folly/lib g++ main.cc ${CXXFLAGS} -fPIC -I/opt/eos-folly/include -std=c++14 -L/opt/eos-folly/lib/ -lfolly -lpthread -lglog ${LIBTSAN}
%if %{?_with_tsan:0}%{!?_with_tsan:1}
LD_LIBRARY_PATH=${RPM_BUILD_ROOT}/opt/eos-folly/lib ./a.out
LD_LIBRARY_PATH=/opt/eos-folly/lib ./a.out
%endif
%files
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment