From 1c63701ecc8a1cff6979bdb3688cf62f4cc267f5 Mon Sep 17 00:00:00 2001 From: haller Date: Mon, 28 Nov 2005 16:24:57 +0000 Subject: Quelques modifs dans l'A/A * Rapatriement des test dans src * Ajout d'un test pipo pour errno_exception --- i/simulotron/src/Makefile.am | 9 +++++++-- i/simulotron/src/socket/Makefile.am | 8 ++++++++ i/simulotron/src/socket/test_socket.cc | 5 +++++ i/simulotron/src/utils/Makefile.am | 5 +++++ i/simulotron/src/utils/test_errno_exception.cc | 5 +++++ 5 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 i/simulotron/src/socket/Makefile.am create mode 100644 i/simulotron/src/socket/test_socket.cc create mode 100644 i/simulotron/src/utils/Makefile.am create mode 100644 i/simulotron/src/utils/test_errno_exception.cc (limited to 'i/simulotron/src') diff --git a/i/simulotron/src/Makefile.am b/i/simulotron/src/Makefile.am index 7302a68..3a767e2 100644 --- a/i/simulotron/src/Makefile.am +++ b/i/simulotron/src/Makefile.am @@ -1,9 +1,14 @@ +SUBDIRS = utils socket + bin_PROGRAMS = simulotron simulotron_SOURCES = main.cc \ - socket/socket.cc socket/socket.hh \ - socket/address.cc socket/address.hh \ + socket/address.hh socket/address.cc \ + socket/socket.cc socket/socket.hh \ utils/errno_exception.hh simulotron_CXXFLAGS = -g -Wall -fmessage-length=0 simulotron_LDADD = INCLUDES = -I../../src + +TESTS = socket/test_socket \ + utils/test_errno_exception diff --git a/i/simulotron/src/socket/Makefile.am b/i/simulotron/src/socket/Makefile.am new file mode 100644 index 0000000..f4ff19b --- /dev/null +++ b/i/simulotron/src/socket/Makefile.am @@ -0,0 +1,8 @@ +check_PROGRAMS = test_socket +test_socket_SOURCES = test_socket.cc \ + socket.cc socket.hh \ + address.cc address.hh \ + ../utils/errno_exception.hh + +AM_CXXFLAGS=-g -W -Wall -fmessage-length=0 +INCLUDES= -I../../src diff --git a/i/simulotron/src/socket/test_socket.cc b/i/simulotron/src/socket/test_socket.cc new file mode 100644 index 0000000..2992206 --- /dev/null +++ b/i/simulotron/src/socket/test_socket.cc @@ -0,0 +1,5 @@ + +int main(void) +{ + return 0; +} diff --git a/i/simulotron/src/utils/Makefile.am b/i/simulotron/src/utils/Makefile.am new file mode 100644 index 0000000..6bd6053 --- /dev/null +++ b/i/simulotron/src/utils/Makefile.am @@ -0,0 +1,5 @@ +check_PROGRAMS = test_errno_exception +test_errno_exception_SOURCES = errno_exception.hh test_errno_exception.cc + +AM_CXXFLAGS=-g -W -Wall -fmessage-length=0 +INCLUDES= -I../../src diff --git a/i/simulotron/src/utils/test_errno_exception.cc b/i/simulotron/src/utils/test_errno_exception.cc new file mode 100644 index 0000000..2992206 --- /dev/null +++ b/i/simulotron/src/utils/test_errno_exception.cc @@ -0,0 +1,5 @@ + +int main(void) +{ + return 0; +} -- cgit v1.2.3