提交 c7eacb33 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Build mediasoup-worker-test binary in Release mode

上级 b00cea12
...@@ -25,7 +25,7 @@ $ MEDIASOUP_BUILDTYPE=Debug node myapp.js ...@@ -25,7 +25,7 @@ $ MEDIASOUP_BUILDTYPE=Debug node myapp.js
### `make test` ### `make test`
Builds the `mediasoup-worker-test` test unit binary at `worker/out/Debug/` in `Debug` mode. Builds the `mediasoup-worker-test` test unit binary at `worker/out/Release/`.
### `make xcode` ### `make xcode`
...@@ -74,7 +74,7 @@ $ MEDIASOUP_BUILDTYPE=Debug gulp test:debug ...@@ -74,7 +74,7 @@ $ MEDIASOUP_BUILDTYPE=Debug gulp test:debug
### `gulp test:worker` ### `gulp test:worker`
Runs the mediasoup worker [test units](worker/test/) in `Debug` mode. Before it, it invokes the `make test` command. Runs the mediasoup worker [test units](worker/test/). Before it, it invokes the `make test` command.
### `gulp test` ### `gulp test`
......
...@@ -21,7 +21,7 @@ Debug: ...@@ -21,7 +21,7 @@ Debug:
test: test:
cd worker && ./scripts/configure.py -R mediasoup-worker-test cd worker && ./scripts/configure.py -R mediasoup-worker-test
$(MAKE) BUILDTYPE=Debug -C worker/out $(MAKE) BUILDTYPE=Release -C worker/out
xcode: xcode:
cd worker && ./scripts/configure.py --format=xcode cd worker && ./scripts/configure.py --format=xcode
......
...@@ -60,7 +60,7 @@ gulp.task('test:api', shell.task( ...@@ -60,7 +60,7 @@ gulp.task('test:api', shell.task(
gulp.task('test:worker', shell.task( gulp.task('test:worker', shell.task(
[ [
'if type make &> /dev/null; then make test; fi', 'if type make &> /dev/null; then make test; fi',
'worker/out/Debug/mediasoup-worker-test' 'worker/out/Release/mediasoup-worker-test'
], ],
{ {
verbose : true verbose : true
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论