mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add reload utest.
This commit is contained in:
parent
daa382fee5
commit
798f9139a4
12 changed files with 151 additions and 42 deletions
|
@ -33,6 +33,26 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_app_log.hpp>
|
||||
|
||||
// enable all utest.
|
||||
#if 1
|
||||
#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.
|
||||
#if 1
|
||||
#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
|
||||
|
||||
// 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