|
36 | 36 | from common import env_modify, no_mac, no_windows, requires_native_clang, with_env_modify
|
37 | 37 | from common import create_file, parameterized, NON_ZERO, node_pthreads, TEST_ROOT, test_file
|
38 | 38 | from common import compiler_for, read_file, read_binary, EMBUILDER, require_v8, require_node
|
39 |
| -from tools import shared, building, utils, deps_info |
| 39 | +from tools import shared, building, utils, deps_info, response_file |
40 | 40 | import common
|
41 | 41 | import jsrun
|
42 | 42 | import clang_native
|
@@ -7770,7 +7770,8 @@ def test_emar_response_file(self):
|
7770 | 7770 | create_file("file'2", ' ')
|
7771 | 7771 | create_file("hyvää päivää", ' ')
|
7772 | 7772 | create_file("snowman freezes covid ☃ 🦠", ' ')
|
7773 |
| - building.emar('cr', 'libfoo.a', ("file'1", "file'2", "hyvää päivää", "snowman freezes covid ☃ 🦠")) |
| 7773 | + rsp = response_file.create_response_file(("file'1", "file'2", "hyvää päivää", "snowman freezes covid ☃ 🦠"), shared.TEMP_DIR) |
| 7774 | + building.emar('cr', 'libfoo.a', ['@' + rsp]) |
7774 | 7775 |
|
7775 | 7776 | def test_archive_empty(self):
|
7776 | 7777 | # This test added because we had an issue with the AUTO_ARCHIVE_INDEXES failing on empty
|
|
0 commit comments