check if elffile is a file, make exception more descriptive by tmnku · Pull Request #193 · linuxdeploy/linuxdeploy · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/core/elf_file.cpp
1 change: 1 addition & 0 deletions tests/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function(ld_core_add_test_executable NAME)
-DSIMPLE_ICON_PATH="${CMAKE_CURRENT_SOURCE_DIR}/../data/simple_icon.svg"
-DSIMPLE_FILE_PATH="${CMAKE_CURRENT_SOURCE_DIR}/../data/simple_file.txt"
-DREADONLY_FILE_PATH="${CMAKE_CURRENT_SOURCE_DIR}/../data/readonly-file.txt"
-DEMPTY_FILE_PATH="${CMAKE_CURRENT_SOURCE_DIR}/../data/empty-file.txt"
)

# make sure library and executable are built before test_appdir
Expand Down
6 changes: 3 additions & 3 deletions tests/core/test_elf_file.cpp
Empty file added tests/data/empty-file.txt
Empty file.