Refine utest script.

pull/2908/head
winlin 3 years ago
parent 350c05c589
commit fd219aa074

@ -7,7 +7,6 @@ RUN yum install -y gcc make gcc-c++ patch unzip perl git
COPY . /srs
WORKDIR /srs/trunk
# Note that we never build the utest, but only build srs.
# Note that we must enable the gcc7 or link failed.
RUN scl enable devtoolset-7 -- ./configure --srt=on --utest=on --gcov=on --jobs=2
RUN scl enable devtoolset-7 -- make -j2
RUN scl enable devtoolset-7 -- make -j2 utest

Loading…
Cancel
Save