summaryrefslogtreecommitdiff
path: root/selftest.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-30 16:07:02 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-30 16:07:02 -0800
commitc21882da9ce3dca08dc3ca096482ff69b7355e13 (patch)
treee68198156f5bd48671db531afbda1dd5ca2f91d5 /selftest.cpp
parentf26025058075d91cd69ac892c373fd1d4d7f605d (diff)
downloadinfinitytier-c21882da9ce3dca08dc3ca096482ff69b7355e13.tar.gz
infinitytier-c21882da9ce3dca08dc3ca096482ff69b7355e13.zip
Put selftest back and turn off tracing in PortMapper.
Diffstat (limited to 'selftest.cpp')
-rw-r--r--selftest.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/selftest.cpp b/selftest.cpp
index e68f564c..4e9219b2 100644
--- a/selftest.cpp
+++ b/selftest.cpp
@@ -1096,7 +1096,7 @@ int main(int argc,char **argv)
srand((unsigned int)time(0));
- /*
+ ///*
r |= testSqliteNetworkController();
r |= testOther();
r |= testCrypto();
@@ -1106,17 +1106,19 @@ int main(int argc,char **argv)
r |= testPhy();
r |= testResolver();
//r |= testHttp();
- */
+ //*/
if (r)
std::cout << std::endl << "SOMETHING FAILED!" << std::endl;
+ /*
#ifdef ZT_USE_MINIUPNPC
std::cout << std::endl;
std::cout << "[portmapper] Starting port mapper and waiting forever... use CTRL+C to exit. (enable ZT_PORTMAPPER_TRACE in PortMapper.cpp for output)" << std::endl;
PortMapper mapper(12345,"ZeroTier/__selftest");
Thread::sleep(0xffffffff);
#endif
+ */
return r;
}