// : vi ts=4 sw=4 noet :
/*
==================================================================================
- Copyright (c) 2019 Nokia
- Copyright (c) 2018-2019 AT&T Intellectual Property.
+ Copyright (c) 2019-2021 Nokia
+ Copyright (c) 2018-2021 AT&T Intellectual Property.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
#include "rmr.h"
#include "rmr_agnostic.h"
-#include "rmr_nng_private.h"
#define EMULATE_NNG
-#include "test_nng_em.c"
+#define NNG_UNDER_TEST
#include "sr_nng_static.c"
#include "test_support.c"
if( ! errors ) {
fprintf( stderr, "<INFO> all msg header tests pass\n" );
}
- return !! errors;
+ return errors;
}
int main() {
- return hdr_test();
+ int errors = 0;
+
+ errors += hdr_test();
+
+ return !! errors;
}