Commit d9b59de
build,test: make building addon tests less fragile
* Get rid of recursive `make` when building the node binary. An earlier
commit makes GYP write out rules that we can use for proper dependency
tracking.
* Use module name 'binding' in addons.md and addons-napi/*/binding.gyp.
This massively simplifies the logic for generating the build rules.
* Check in auto-generated add-on tests from `doc/api/addons.md`. The
files change rarely and generating them dynamically causes no end of
race conditions and special-casing during the build.
PR-URL: #17407
Reviewed-By: Richard Lau <[email protected]>1 parent c668263 commit d9b59de
File tree
95 files changed
+917
-301
lines changed- doc/api
- test
- addons-napi
- test_array
- test_async
- test_buffer
- test_constructor_name
- test_constructor
- test_conversions
- test_dataview
- test_env_sharing
- test_error
- test_exception
- test_fatal
- test_function
- test_general
- test_handle_scope
- test_number
- test_object
- test_promise
- test_properties
- test_reference
- test_string
- test_symbol
- test_typedarray
- test_uv_loop
- test_warning
- addons
- 01_function_arguments
- 02_callbacks
- 03_object_factory
- 04_function_factory
- 05_wrapping_c_objects
- 06_factory_of_wrapped_objects
- 07_passing_wrapped_objects_around
- 08_void_atexitcallback_args
- openssl-client-cert-engine
- tools/doc
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
95 files changed
+917
-301
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
0 commit comments