equal
deleted
inserted
replaced
18 * |
18 * |
19 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
19 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
20 */ |
20 */ |
21 |
21 |
22 #include "ns3/test.h" |
22 #include "ns3/test.h" |
|
23 #include "ns3/packet-metadata.h" |
|
24 |
23 |
25 |
24 int main (int argc, char *argv[]) |
26 int main (int argc, char *argv[]) |
25 { |
27 { |
26 #ifdef RUN_SELF_TESTS |
28 #ifdef RUN_SELF_TESTS |
|
29 ns3::PacketMetadata::Enable (); |
27 ns3::TestManager::EnableVerbose (); |
30 ns3::TestManager::EnableVerbose (); |
28 bool success = ns3::TestManager::RunTests (); |
31 bool success = ns3::TestManager::RunTests (); |
29 if (!success) |
32 if (!success) |
30 return 1; |
33 return 1; |
31 #endif /* RUN_SELF_TESTS */ |
34 #endif /* RUN_SELF_TESTS */ |