[pkg-d-commits] [ldc] 30/95: ldc2 unittests are run directly by CI
Matthias Klumpp
mak at moszumanska.debian.org
Thu Jul 13 20:53:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to annotated tag v1.3.0-beta1
in repository ldc.
commit 851ebcf1d732250d94adf368e6b8723bfd4623e9
Author: Remi THEBAULT <remi.thebault at gmail.com>
Date: Sun Feb 26 00:54:18 2017 +0100
ldc2 unittests are run directly by CI
---
.travis.yml | 2 ++
CMakeLists.txt | 4 ----
appveyor.yml | 2 ++
circle.yml | 1 +
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 0885f5b..658d205 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -82,6 +82,8 @@ script:
# Outputs some environment info, plus makes sure we only run the test suite
# if we could actually build the executable.
- bin/ldc2 -version || exit 1
+ # run the general unittests
+ - bin/ldc2_test -version
# Build Phobos & druntime unittest modules.
-
if [[ "${OPTS}" == *-DMULTILIB?ON* ]]; then
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa4cc08..64f349c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -730,10 +730,6 @@ build_d_executable(
"${LDC_LIB}"
)
-add_test(NAME ldc2-unittest
- COMMAND ${LDC_TEST_EXE_FULL} --version
-)
-
add_subdirectory(runtime)
if(D_VERSION EQUAL 2)
add_subdirectory(tests/d2)
diff --git a/appveyor.yml b/appveyor.yml
index b10deaf..e055703 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -184,6 +184,8 @@ test_script:
- ps: 'echo "import std.stdio; void main() { writeln(""Hello world!""); }" > hello.d'
- bin\ldc2 hello.d
- hello.exe
+ # Run general unittests
+ - bin\ldc2_test -version
# Compile the druntime & phobos unit tests
- ninja -j2 druntime-ldc-unittest-debug phobos2-ldc-unittest-debug druntime-ldc-unittest phobos2-ldc-unittest
# Execute dmd-testsuite
diff --git a/circle.yml b/circle.yml
index 27ad564..de8a669 100644
--- a/circle.yml
+++ b/circle.yml
@@ -61,6 +61,7 @@ test:
- bin/ldc2 -version || exit 1
override:
+ - bin/ldc2_test -version
- make -j2 phobos2-ldc-unittest-debug phobos2-ldc-unittest
- make -j3 druntime-ldc-unittest-debug druntime-ldc-unittest
- CC="" DMD_TESTSUITE_MAKE_ARGS=-j3 ctest --verbose -R "dmd-testsuite"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git
More information about the pkg-d-commits
mailing list