From 9a26cd01c6529551316f3e070986fce44a51bdf3 Mon Sep 17 00:00:00 2001 From: nakeee Date: Mon, 12 Apr 2010 15:11:24 +0000 Subject: [PATCH] Forgotten file git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5346 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/UnitTests/SConscript | 19 +++++++++++++++++++ Source/UnitTests/UnitTests.cpp | 5 +---- 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 Source/UnitTests/SConscript diff --git a/Source/UnitTests/SConscript b/Source/UnitTests/SConscript new file mode 100644 index 0000000000..5757534fdb --- /dev/null +++ b/Source/UnitTests/SConscript @@ -0,0 +1,19 @@ +# -*- python -*- + +Import('env') +import sys + +unitenv = env.Clone() + +files = [ + "AudioJitTests.cpp", + "DSPJitTester.cpp", + "UnitTests.cpp", + ] + +libs = [ + 'dspcore', 'common', +] + +unitenv.Append( LIBS = libs) +unitenv.Program(env['binary_dir'] + 'tester', files) diff --git a/Source/UnitTests/UnitTests.cpp b/Source/UnitTests/UnitTests.cpp index 54f5e67555..4273f99b46 100644 --- a/Source/UnitTests/UnitTests.cpp +++ b/Source/UnitTests/UnitTests.cpp @@ -100,11 +100,8 @@ void StringTests() EXPECT_EQ(TabsToSpaces(4, "a\tb"), "a b"); } -#ifdef _WIN32 -int main(int argc, _TCHAR* argv[]) -#else + int main(int argc, char* argv[]) -#endif { AudioJitTests();