Skip to content

Commit

Permalink
[EROFS]: test: add test for pax-header tar
Browse files Browse the repository at this point in the history
Signed-off-by: Hongzhen Luo <[email protected]>
  • Loading branch information
salvete committed Nov 16, 2024
1 parent 8ce880b commit b52ee4b
Show file tree
Hide file tree
Showing 2 changed files with 343 additions and 39 deletions.
7 changes: 6 additions & 1 deletion src/overlaybd/tar/erofs/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ link_directories($ENV{GTEST}/lib)
add_executable(erofs_test test.cpp)
target_include_directories(erofs_test PUBLIC ${PHOTON_INCLUDE_DIR})
target_link_libraries(erofs_test gtest gtest_main pthread photon_static
tar_lib lsmt_lib gzip_lib gzindex_lib checksum_lib)
tar_lib lsmt_lib gzip_lib gzindex_lib checksum_lib overlaybd_image_lib)

target_include_directories(erofs_test PUBLIC
${PHOTON_INCLUDE_DIR}
${rapidjson_SOURCE_DIR}/include
)

add_test(
NAME erofs_test
Expand Down
Loading

0 comments on commit b52ee4b

Please sign in to comment.