diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-05 10:30:58 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-05 17:53:59 +0300 |
commit | 72e7f011b29998d8a3e15eb5b381ef962af5fe5b (patch) | |
tree | 9fd87a0c6f545552849f466b20d3969a21e21e15 /tests | |
parent | 4e0bcdb33411afb02d60b72cbffa278344a572a6 (diff) |
Upgrade to 8.0.15
Diffstat (limited to 'tests')
-rw-r--r-- | tests/.gitignore | 3 | ||||
-rw-r--r-- | tests/basic/buildfile | 7 | ||||
-rw-r--r-- | tests/basic/driver.c | 23 | ||||
-rw-r--r-- | tests/basic/testscript | 5 | ||||
-rw-r--r-- | tests/build/.gitignore | 3 | ||||
-rw-r--r-- | tests/build/bootstrap.build | 9 | ||||
-rw-r--r-- | tests/build/root.build | 27 | ||||
-rw-r--r-- | tests/buildfile | 5 |
8 files changed, 0 insertions, 82 deletions
diff --git a/tests/.gitignore b/tests/.gitignore deleted file mode 100644 index 2e508a9..0000000 --- a/tests/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -driver -test/ -test-*/ diff --git a/tests/basic/buildfile b/tests/basic/buildfile deleted file mode 100644 index f9ca12d..0000000 --- a/tests/basic/buildfile +++ /dev/null @@ -1,7 +0,0 @@ -# file : tests/basic/buildfile -# copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC -# license : GPLv2 with FOSS License Exception; see accompanying COPYING file - -import libs = libmysqlclient%lib{mysqlclient} - -exe{driver}: {h c}{*} $libs testscript diff --git a/tests/basic/driver.c b/tests/basic/driver.c deleted file mode 100644 index 9349667..0000000 --- a/tests/basic/driver.c +++ /dev/null @@ -1,23 +0,0 @@ -/* - * file : tests/basic/driver.c - * copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC - * license : GPLv2 with FOSS License Exception; see accompanying COPYING file - */ - -#include <stdio.h> - -#include <mysql/mysql.h> - -int -main () -{ - if (mysql_library_init (0, NULL, NULL)) - { - fprintf (stderr, "failed to initialize\n"); - return 1; - } - - printf ("libmysqlclient version: %s\n", mysql_get_client_info ()); - mysql_library_end (); - return 0; -} diff --git a/tests/basic/testscript b/tests/basic/testscript deleted file mode 100644 index 6d1b941..0000000 --- a/tests/basic/testscript +++ /dev/null @@ -1,5 +0,0 @@ -# file : tests/basic/testscript -# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd -# license : GPLv2 with FOSS License Exception; see accompanying COPYING file - -$* >~'/libmysqlclient version: \d+\.\d+\.\d+(-.+)?/' diff --git a/tests/build/.gitignore b/tests/build/.gitignore deleted file mode 100644 index 4a730a3..0000000 --- a/tests/build/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -config.build -root/ -bootstrap/ diff --git a/tests/build/bootstrap.build b/tests/build/bootstrap.build deleted file mode 100644 index 4e755e2..0000000 --- a/tests/build/bootstrap.build +++ /dev/null @@ -1,9 +0,0 @@ -# file : tests/build/bootstrap.build -# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd -# license : GPLv2 with FOSS License Exception; see accompanying COPYING file - -project = # Unnamed subproject. - -using config -using dist -using test diff --git a/tests/build/root.build b/tests/build/root.build deleted file mode 100644 index 0564b7f..0000000 --- a/tests/build/root.build +++ /dev/null @@ -1,27 +0,0 @@ -# file : tests/build/root.build -# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd -# license : GPLv2 with FOSS License Exception; see accompanying COPYING file - -# It would be good to make sure that libmysqlclient headers comply with an -# oldest C standard, but that's not the case (C++-style comments are used). -# -c.std = 99 - -using c - -h{*}: extension = h -c{*}: extension = c - -if ($c.class == 'msvc') -{ - c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS - c.coptions += /wd4251 /wd4275 /wd4800 -} - -# Every exe{} in this subproject is by default a test. -# -exe{*}: test = true - -# Specify the test target for cross-testing. -# -test.target = $c.target diff --git a/tests/buildfile b/tests/buildfile deleted file mode 100644 index 21ed719..0000000 --- a/tests/buildfile +++ /dev/null @@ -1,5 +0,0 @@ -# file : tests/buildfile -# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd -# license : GPLv2 with FOSS License Exception; see accompanying COPYING file - -./: {*/ -build/} |