Skip to content

Commit 0fe569f

Browse files
author
Hongzhen Luo
committed
[EROFS]: test: add test for pax-header tar
Signed-off-by: Hongzhen Luo <[email protected]>
1 parent 8ce880b commit 0fe569f

File tree

2 files changed

+345
-39
lines changed

2 files changed

+345
-39
lines changed

src/overlaybd/tar/erofs/test/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ link_directories($ENV{GTEST}/lib)
77
add_executable(erofs_test test.cpp)
88
target_include_directories(erofs_test PUBLIC ${PHOTON_INCLUDE_DIR})
99
target_link_libraries(erofs_test gtest gtest_main pthread photon_static
10-
tar_lib lsmt_lib gzip_lib gzindex_lib checksum_lib)
10+
tar_lib lsmt_lib gzip_lib gzindex_lib checksum_lib overlaybd_image_lib)
11+
12+
target_include_directories(erofs_test PUBLIC
13+
${PHOTON_INCLUDE_DIR}
14+
${rapidjson_SOURCE_DIR}/include
15+
)
1116

1217
add_test(
1318
NAME erofs_test

0 commit comments

Comments
 (0)