mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
CI: Remove macros for utest
This commit is contained in:
parent
bfeea72eac
commit
8c9857ff6f
6 changed files with 0 additions and 47 deletions
|
@ -33,33 +33,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_app_log.hpp>
|
||||
|
||||
#define SRS_UTEST_DEV
|
||||
#undef SRS_UTEST_DEV
|
||||
|
||||
// enable all utest.
|
||||
#ifndef SRS_UTEST_DEV
|
||||
#define ENABLE_UTEST_AMF0
|
||||
#define ENABLE_UTEST_CONFIG
|
||||
#define ENABLE_UTEST_CORE
|
||||
#define ENABLE_UTEST_KERNEL
|
||||
#define ENABLE_UTEST_PROTOCOL
|
||||
#define ENABLE_UTEST_RELOAD
|
||||
#endif
|
||||
|
||||
// disable some for fast dev, compile and startup.
|
||||
#ifdef SRS_UTEST_DEV
|
||||
#undef ENABLE_UTEST_AMF0
|
||||
#undef ENABLE_UTEST_CONFIG
|
||||
#undef ENABLE_UTEST_CORE
|
||||
#undef ENABLE_UTEST_KERNEL
|
||||
#undef ENABLE_UTEST_PROTOCOL
|
||||
#undef ENABLE_UTEST_RELOAD
|
||||
#endif
|
||||
|
||||
#ifdef SRS_UTEST_DEV
|
||||
#define ENABLE_UTEST_RELOAD
|
||||
#endif
|
||||
|
||||
// we add an empty macro for upp to show the smart tips.
|
||||
#define VOID
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue