diff options
Diffstat (limited to 'src/host/tests/host_tests.cpp')
-rw-r--r-- | src/host/tests/host_tests.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/host/tests/host_tests.cpp b/src/host/tests/host_tests.cpp index 18d6a7a..6b3535c 100644 --- a/src/host/tests/host_tests.cpp +++ b/src/host/tests/host_tests.cpp @@ -1,26 +1,26 @@ -/**
- * \file host_tests.cpp
- * \brief Main executable automated tests.
- * \author Copyright (c) 2002-2008 Jason Perkins and the Premake project
- */
-
-#include "premake.h"
-#include "testing/testing.h"
-extern "C" {
-#include "host/host.h"
-}
-
-
-/**
- * Run the automated host tests.
- * \returns OKAY if all tests completed successfully.
- * \note Also runs the tests for all dependencies, which for the host is everything.
- */
-int host_tests()
-{
- int z = OKAY;
- if (z == OKAY) z = session_tests();
- if (z == OKAY) z = tests_run_suite("action");
- if (z == OKAY) z = tests_run_suite("host");
- return z;
-}
+/** + * \file host_tests.cpp + * \brief Main executable automated tests. + * \author Copyright (c) 2002-2008 Jason Perkins and the Premake project + */ + +#include "premake.h" +#include "testing/testing.h" +extern "C" { +#include "host/host.h" +} + + +/** + * Run the automated host tests. + * \returns OKAY if all tests completed successfully. + * \note Also runs the tests for all dependencies, which for the host is everything. + */ +int host_tests() +{ + int z = OKAY; + if (z == OKAY) z = session_tests(); + if (z == OKAY) z = tests_run_suite("action"); + if (z == OKAY) z = tests_run_suite("host"); + return z; +} |