Skip to content

Commit 07a1f22

Browse files
committed
test: search cctest files
To prevent a new cctest missing from the `node.gyp`, search cctest files with tool `search_files.py` at configure time.
1 parent 2a2db06 commit 07a1f22

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

node.gyp

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -402,26 +402,8 @@
402402
],
403403
'node_cctest_sources': [
404404
'src/node_snapshot_stub.cc',
405-
'test/cctest/node_test_fixture.cc',
406-
'test/cctest/node_test_fixture.h',
407-
'test/cctest/test_aliased_buffer.cc',
408-
'test/cctest/test_base64.cc',
409-
'test/cctest/test_base_object_ptr.cc',
410-
'test/cctest/test_cppgc.cc',
411-
'test/cctest/test_node_postmortem_metadata.cc',
412-
'test/cctest/test_node_task_runner.cc',
413-
'test/cctest/test_environment.cc',
414-
'test/cctest/test_linked_binding.cc',
415-
'test/cctest/test_node_api.cc',
416-
'test/cctest/test_path.cc',
417-
'test/cctest/test_per_process.cc',
418-
'test/cctest/test_platform.cc',
419-
'test/cctest/test_report.cc',
420-
'test/cctest/test_json_utils.cc',
421-
'test/cctest/test_sockaddr.cc',
422-
'test/cctest/test_traced_value.cc',
423-
'test/cctest/test_util.cc',
424-
'test/cctest/test_dataqueue.cc',
405+
'<!@(<(python) tools/search_files.py . test/cctest cc)',
406+
'<!@(<(python) tools/search_files.py . test/cctest h)',
425407
],
426408
'node_cctest_openssl_sources': [
427409
'test/cctest/test_crypto_clienthello.cc',

0 commit comments

Comments
 (0)