Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
added new test
Browse files Browse the repository at this point in the history
  • Loading branch information
flyx committed Jan 5, 2012
1 parent f227f2d commit e5f934d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
bin
lib
obj
18 changes: 9 additions & 9 deletions openclada_tests.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ project OpenCLAda_Tests is
("Windows", "Linux", "MacOSX");
Os : Os_Type := external ("OS");

package Compiler is
for Default_Switches ("ada") use ("-g", "-O2", "-gnatn", "-gnatf", "-gnat05", "-gnata");
end Compiler;

package Builder is
for Default_Switches ("ada") use ("-m");
end Builder;

case Os is

when "Windows" =>
Expand All @@ -26,8 +18,16 @@ project OpenCLAda_Tests is
for Main use ("cl_test-context.adb", "cl_test-device.adb", "cl_test-hello_world.adb", "cl_test-memory.adb", "cl_test-platform.adb", "cl_test-vectors.adb");

when "MacOSX" =>
for Main use ("cl_test-context.adb", "cl_test-device.adb", "cl_test-memory.adb", "cl_test-platform.adb", "cl_test-hello_world.adb");
for Main use ("cl_test-context.adb", "cl_test-device.adb", "cl_test-hello_world.adb", "cl_test-memory.adb", "cl_test-platform.adb", "cl_test-vectors.adb");
end case;

package Compiler is
for Default_Switches ("ada") use ("-g", "-O2", "-gnatn", "-gnatf", "-gnat05", "-gnata");
end Compiler;

package Builder is
for Default_Switches ("ada") use ("-m");
end Builder;

end OpenCLAda_Tests;

0 comments on commit e5f934d

Please sign in to comment.