summaryrefslogtreecommitdiff
path: root/tests/test_pair_tcp.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:05:42 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:05:42 +0900
commit72112ecf818b3b411298b05f081bb10705d62119 (patch)
tree1698b1df233c41aaaf2fb7b4f026e941ab58f3e8 /tests/test_pair_tcp.cpp
parent4d15d0dcd4772f57f729a69d2c497461820ccb37 (diff)
XS_TEST_MAIN used instead of main in test programs
This is the first step towards making test programs run on Windows. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tests/test_pair_tcp.cpp')
-rw-r--r--tests/test_pair_tcp.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_pair_tcp.cpp b/tests/test_pair_tcp.cpp
index 1c4bbf1..bf4fcd8 100644
--- a/tests/test_pair_tcp.cpp
+++ b/tests/test_pair_tcp.cpp
@@ -19,11 +19,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <assert.h>
-#include <stdio.h>
#include "testutil.hpp"
-int main (int argc, char *argv [])
+int XS_TEST_MAIN ()
{
fprintf (stderr, "test_pair_tcp running...\n");