Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tizen] Exclude *.map file from test runner ISO #29072

Merged
merged 1 commit into from
Sep 5, 2023
Merged
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
1 change: 1 addition & 0 deletions src/test_driver/tizen/chip_tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ tizen_qemu_mkisofs("chip-tests-runner") {
# rebuild of the ISO image, so the test will be run with old
# binaries.
assets_non_tracked = [ rebase_path("${root_build_dir}/tests") ]
assets_non_tracked_exclude_globs = [ "*.map" ]
}

tizen_qemu_run("chip-tests") {
Expand Down
16 changes: 16 additions & 0 deletions third_party/tizen/tizen_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,26 @@ template("tizen_qemu_mkisofs") {
"-input-charset=default",
"-VCHIP", # Volume ID = CHIP
"-JRU", # Joliet + Rock Ridge with untranslated filenames
]

# Exclude files from the ISO image which might otherwise be included
# by non-tracked assets in case of adding entire directory. This will
# not exclude files added explicitly.
if (defined(invoker.assets_non_tracked_exclude_globs)) {
foreach(glob, invoker.assets_non_tracked_exclude_globs) {
args += [
"-m",
glob,
]
}
}

args += [
"-o",
rebase_path(image_file),
rebase_path(invoker.runner),
]

if (defined(invoker.assets)) {
args += invoker.assets
inputs += invoker.assets
Expand Down
Loading