diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:05:42 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:05:42 +0900 |
commit | 72112ecf818b3b411298b05f081bb10705d62119 (patch) | |
tree | 1698b1df233c41aaaf2fb7b4f026e941ab58f3e8 /tests/test_reqrep_device.cpp | |
parent | 4d15d0dcd4772f57f729a69d2c497461820ccb37 (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_reqrep_device.cpp')
-rw-r--r-- | tests/test_reqrep_device.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/test_reqrep_device.cpp b/tests/test_reqrep_device.cpp index 5571eed..68ee347 100644 --- a/tests/test_reqrep_device.cpp +++ b/tests/test_reqrep_device.cpp @@ -19,13 +19,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <assert.h> -#include <string.h> -#include <stdio.h> +#include "testutil.hpp" -#include "../include/xs.h" - -int main (int argc, char *argv []) +int XS_TEST_MAIN () { fprintf (stderr, "test_reqrep_device running...\n"); |