/**
 * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */

#include "stdafx.h"
#include "Service/Service.h"

#ifndef __cplusplus_cli
int main (int argc, char **argv) {
	if ((argc == 3) && !strcmp (argv[1], "jvm")) {
		return ServiceTestJVM (argv[2]) ? 0 : 1;
	}
	CAbstractTest::Main (argc, argv);
	return 0;
}
#endif /* ifndef __cplusplus_cli */

/**
 * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */

#include "stdafx.h"

#ifndef __cplusplus_cli
int main (int argc, char **argv) {
	CAbstractTest::Main (argc, argv);
	return 0;
}
#endif /* ifndef __cplusplus_cli */

--- 
+++ 
@@ -5,9 +5,13 @@
  */
 
 #include "stdafx.h"
+#include "Service/Service.h"
 
 #ifndef __cplusplus_cli
 int main (int argc, char **argv) {
+	if ((argc == 3) && !strcmp (argv[1], "jvm")) {
+		return ServiceTestJVM (argv[2]) ? 0 : 1;
+	}
 	CAbstractTest::Main (argc, argv);
 	return 0;
 }
[PLAT-3017] Verify JVM libraries found in the filesystem as being 1.7 or higher during tests.
