NGSetup is added

This commit is contained in:
Sukchan Lee
2020-05-25 12:15:22 -04:00
parent c534d47a78
commit 6ef5a746e5
142 changed files with 12739 additions and 885 deletions

View File

@@ -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);

View File

@@ -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')

View File

@@ -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)