mirror of
https://github.com/nextepc/nextepc-oss.git
synced 2025-11-02 12:53:14 +00:00
NGSetup is added
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "test-app.h"
|
||||
#include "test-epc.h"
|
||||
|
||||
#include "pcscf-fd-path.h"
|
||||
|
||||
@@ -52,7 +52,7 @@ static void terminate(void)
|
||||
|
||||
ogs_sctp_final();
|
||||
|
||||
test_app_final();
|
||||
test_epc_final();
|
||||
ogs_app_terminate();
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ static void initialize(const char *const argv[])
|
||||
hss_thread = test_child_create("hss", argv);
|
||||
mme_thread = test_child_create("mme", argv);
|
||||
|
||||
test_app_init();
|
||||
test_epc_init();
|
||||
ogs_sctp_init(ogs_config()->usrsctp.udp_port);
|
||||
|
||||
rv = pcscf_fd_init();
|
||||
@@ -84,7 +84,7 @@ int main(int argc, const char *const argv[])
|
||||
abts_suite *suite = NULL;
|
||||
|
||||
atexit(terminate);
|
||||
test_app_run(argc, argv, "volte.yaml", initialize);
|
||||
test_epc_run(argc, argv, "volte.yaml", initialize);
|
||||
|
||||
for (i = 0; alltests[i].func; i++)
|
||||
suite = alltests[i].func(suite);
|
||||
|
||||
@@ -27,6 +27,6 @@ testvolte_exe = executable('volte',
|
||||
sources : testvolte_sources,
|
||||
c_args : [testcore_cc_flags,
|
||||
'-DFD_EXT_DIR="@0@"'.format(freediameter_extensions_builddir)],
|
||||
dependencies : libtestapp_dep)
|
||||
dependencies : libtestepc_dep)
|
||||
|
||||
test('volte', testvolte_exe, is_parallel : false, suite: 'system')
|
||||
test('volte', testvolte_exe, is_parallel : false, suite: 'epc')
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "test-app.h"
|
||||
#include "test-epc.h"
|
||||
#include "pcscf-fd-path.h"
|
||||
|
||||
static void volte_test1(abts_case *tc, void *data)
|
||||
|
||||
Reference in New Issue
Block a user