Skip to content

Commit

Permalink
test: search cctest files
Browse files Browse the repository at this point in the history
To prevent a new cctest missing from the `node.gyp`, search cctest
files with tool `search_files.py` at configure time.
  • Loading branch information
legendecas committed Jan 27, 2025
1 parent 2a2db06 commit 07a1f22
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -402,26 +402,8 @@
],
'node_cctest_sources': [
'src/node_snapshot_stub.cc',
'test/cctest/node_test_fixture.cc',
'test/cctest/node_test_fixture.h',
'test/cctest/test_aliased_buffer.cc',
'test/cctest/test_base64.cc',
'test/cctest/test_base_object_ptr.cc',
'test/cctest/test_cppgc.cc',
'test/cctest/test_node_postmortem_metadata.cc',
'test/cctest/test_node_task_runner.cc',
'test/cctest/test_environment.cc',
'test/cctest/test_linked_binding.cc',
'test/cctest/test_node_api.cc',
'test/cctest/test_path.cc',
'test/cctest/test_per_process.cc',
'test/cctest/test_platform.cc',
'test/cctest/test_report.cc',
'test/cctest/test_json_utils.cc',
'test/cctest/test_sockaddr.cc',
'test/cctest/test_traced_value.cc',
'test/cctest/test_util.cc',
'test/cctest/test_dataqueue.cc',
'<!@(<(python) tools/search_files.py . test/cctest cc)',
'<!@(<(python) tools/search_files.py . test/cctest h)',
],
'node_cctest_openssl_sources': [
'test/cctest/test_crypto_clienthello.cc',
Expand Down

0 comments on commit 07a1f22

Please sign in to comment.