File: tc_main.adb

package info (click to toggle)
libgnatcoll 1.7gpl2015-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 17,280 kB
  • ctags: 1,124
  • sloc: ada: 134,072; python: 4,017; cpp: 1,397; ansic: 1,234; makefile: 368; sh: 152; xml: 31; sql: 6
file content (15 lines) | stat: -rw-r--r-- 460 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
with Ada.Command_Line;      use Ada.Command_Line;
with GNATCOLL.SQL.Postgres; use GNATCOLL.SQL;
with GNATCOLL.SQL.Sqlite;

with Task_Cursor;

procedure TC_Main is
   Test_Speed : constant Boolean :=
     Argument_Count = 1 and then Argument (1) = "--speed";
begin
   Task_Cursor
     (Sqlite.Setup ("test-task-cursors.sqlite", Cache_Support => True),
      Test_Speed);
   Task_Cursor (Postgres.Setup ("test", Cache_Support => True), Test_Speed);
end TC_Main;