1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

UTest: Enable sanitizer for utest. (#3247)

1. Enable sanitizer for utest.
2. Allow auto detect jobs for make.
3. Show more information about build cache.
This commit is contained in:
Winlin 2022-11-18 22:02:24 +08:00 committed by winlin
parent 5bae930621
commit 88641b535c
9 changed files with 29 additions and 29 deletions

View file

@ -8,5 +8,5 @@ COPY . /srs
WORKDIR /srs/trunk
# Note that we must enable the gcc7 or link failed.
RUN scl enable devtoolset-7 -- ./configure --srt=on --gb28181=on --utest=on --gcov=on --sanitizer=off --jobs=2
RUN scl enable devtoolset-7 -- make -j2 utest
RUN scl enable devtoolset-7 -- ./configure --srt=on --gb28181=on --utest=on --gcov=on --sanitizer=off
RUN scl enable devtoolset-7 -- make utest