From 72e7f011b29998d8a3e15eb5b381ef962af5fe5b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 5 Apr 2019 10:30:58 +0300 Subject: Upgrade to 8.0.15 --- tests/.gitignore | 3 --- tests/basic/buildfile | 7 ------- tests/basic/driver.c | 23 ----------------------- tests/basic/testscript | 5 ----- tests/build/.gitignore | 3 --- tests/build/bootstrap.build | 9 --------- tests/build/root.build | 27 --------------------------- tests/buildfile | 5 ----- 8 files changed, 82 deletions(-) delete mode 100644 tests/.gitignore delete mode 100644 tests/basic/buildfile delete mode 100644 tests/basic/driver.c delete mode 100644 tests/basic/testscript delete mode 100644 tests/build/.gitignore delete mode 100644 tests/build/bootstrap.build delete mode 100644 tests/build/root.build delete mode 100644 tests/buildfile (limited to 'tests') 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 - -#include - -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/} -- cgit v1.1