File tree 5 files changed +40
-8
lines changed 5 files changed +40
-8
lines changed Original file line number Diff line number Diff line change 4
4
* .dll
5
5
* .exe
6
6
.dub
7
- /dub.selections.json
8
7
/bin
9
8
/testConnectionStr.txt
10
9
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ before_script:
7
7
- echo 'host=127.0.0.1;port=3306;user=root;pwd=;db=mysqln_testdb' > testConnectionStr.txt
8
8
9
9
install : ./travis-install-deps.sh
10
- script : ./run-phobos-tests
11
10
12
11
matrix :
13
12
include :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ license "BSL-1.0"
4
4
copyright "Copyright (c) 2011 Steve Teale"
5
5
authors "Steve Teale" "James W. Oliphant" "simendsjo" "Sönke Ludwig" "sshamov" "Nick Sabalausky"
6
6
7
- dependency "vibe-d:core" version="~>0.7.28 " optional=true
7
+ dependency "vibe-d:core" version="~>0.7.29 " optional=true
8
8
9
9
sourcePaths "source/"
10
10
importPaths "source/"
@@ -18,3 +18,25 @@ configuration "library" {
18
18
targetType "library"
19
19
excludedSourceFiles "source/app.d"
20
20
}
21
+
22
+ configuration "unittest" {
23
+ targetType "executable"
24
+ targetPath "bin/"
25
+ targetName "mysqln-tests-vibe"
26
+ excludedSourceFiles "source/app.d"
27
+
28
+ preBuildCommands \
29
+ "run-phobos-tests" \
30
+ "echo Performing Vibe-socket tests..." \
31
+ platform="windows"
32
+
33
+ preBuildCommands \
34
+ "./run-phobos-tests" \
35
+ "echo Performing Vibe-socket tests..." \
36
+ platform="posix"
37
+
38
+ dependency "vibe-d:core" version="~>0.7.29" optional=false
39
+
40
+ mainSourceFile "source/mysql/connection.d"
41
+ debugVersions "MYSQL_INTEGRATION_TESTS"
42
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "fileVersion" : 1 ,
3
+ "versions" : {
4
+ "libasync" : " 0.7.9" ,
5
+ "libev" : " 5.0.0+4.04" ,
6
+ "libevent" : " 2.0.1+2.0.16" ,
7
+ "memutils" : " 0.4.7" ,
8
+ "openssl" : " 1.1.4+1.0.1g" ,
9
+ "vibe-d" : " 0.7.29"
10
+ }
11
+ }
Original file line number Diff line number Diff line change 61
61
*
62
62
* Developers - How to run the test suite:
63
63
*
64
- * This package contains various unittests and integration tests. To run them
65
- * using phobos sockets, run 'run-phobos-tests '.
64
+ * This package contains various unittests and integration tests. To run them,
65
+ * run 'dub test '.
66
66
*
67
- * The first time you run 'run-phobos-tests ', it will automatically create a
67
+ * The first time you run 'dub test ', it will automatically create a
68
68
* file 'testConnectionStr.txt' in project's base diretory and then exit.
69
69
* This file is deliberately not contained in the source repository
70
70
* because it's specific to your system.
77
77
* but they will ONLY modify that one db schema. No other schema will be
78
78
* modified in any way.
79
79
*
80
- * After you've configured the connection string, run 'run-phobos-tests' again
81
- * and their tests will be run.
80
+ * After you've configured the connection string, run 'dub test' again
81
+ * and their tests will be compiled and run, first using Phobos sockets,
82
+ * then using Vibe sockets.
82
83
*
83
84
* Copyright: Copyright 2011
84
85
* License: $(LINK www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
You can’t perform that action at this time.
0 commit comments