diff options
-rw-r--r-- | default.nix | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/default.nix b/default.nix index 9984f4b..16691c0 100644 --- a/default.nix +++ b/default.nix | |||
@@ -47,8 +47,6 @@ in rec { | |||
47 | [ extra-cmake-modules qtbase ]; | 47 | [ extra-cmake-modules qtbase ]; |
48 | 48 | ||
49 | src = kasyncSrc; | 49 | src = kasyncSrc; |
50 | doCheck = true; | ||
51 | checkPhase = "ctest -VV"; | ||
52 | 50 | ||
53 | inherit cmakeBuildType; | 51 | inherit cmakeBuildType; |
54 | }; | 52 | }; |
@@ -60,8 +58,6 @@ in rec { | |||
60 | [ extra-cmake-modules qtbase kcoreaddons kcodecs kdeApplications.kmime cyrus_sasl ]; | 58 | [ extra-cmake-modules qtbase kcoreaddons kcodecs kdeApplications.kmime cyrus_sasl ]; |
61 | 59 | ||
62 | src = kimap2Src; | 60 | src = kimap2Src; |
63 | doCheck = true; | ||
64 | checkPhase = "ctest -VV"; | ||
65 | 61 | ||
66 | inherit cmakeBuildType; | 62 | inherit cmakeBuildType; |
67 | }; | 63 | }; |
@@ -73,8 +69,6 @@ in rec { | |||
73 | [ extra-cmake-modules qtbase qtxmlpatterns kcoreaddons ]; | 69 | [ extra-cmake-modules qtbase qtxmlpatterns kcoreaddons ]; |
74 | 70 | ||
75 | src = kdav2Src; | 71 | src = kdav2Src; |
76 | doCheck = true; | ||
77 | checkPhase = "ctest -VV"; | ||
78 | 72 | ||
79 | inherit cmakeBuildType; | 73 | inherit cmakeBuildType; |
80 | }; | 74 | }; |
@@ -98,7 +92,30 @@ in rec { | |||
98 | 92 | ||
99 | src = sinkSrc; | 93 | src = sinkSrc; |
100 | doCheck = true; | 94 | doCheck = true; |
101 | checkPhase = "ctest -VV"; | 95 | # Only tests that does not involve external resources |
96 | checkPhase = '' | ||
97 | export LD_LIBRARY_PATH=$PWD/tests:$PWD/examples/caldavresource/:$PWD/examples/dummyresource/:$PWD/tests/hawd:$PWD/common QT_PLUGIN_PATH=$QT_PLUGIN_PATH:$PWD/../build-plugins/ PATH=$PATH:$PWD/synchronizer/ | ||
98 | ./tests/clientapitest && | ||
99 | ./tests/resourceconfigtest && | ||
100 | ./tests/storagetest && | ||
101 | ./tests/domainadaptortest && | ||
102 | ./tests/messagequeuetest && | ||
103 | ./tests/indextest && | ||
104 | ./tests/resourcecommunicationtest && | ||
105 | ./tests/pipelinetest && | ||
106 | ./tests/querytest && | ||
107 | ./tests/modelinteractivitytest && | ||
108 | ./tests/inspectiontest && | ||
109 | ./tests/accountstest && | ||
110 | ./tests/testaccounttest && | ||
111 | ./tests/dummyresourcemailtest && | ||
112 | ./tests/interresourcemovetest && | ||
113 | ./tests/notificationtest && | ||
114 | ./tests/entitystoretest && | ||
115 | ./tests/upgradetest && | ||
116 | ./tests/resourcecontroltest && | ||
117 | ./tests/dummyresourcetest | ||
118 | ''; | ||
102 | 119 | ||
103 | inherit cmakeBuildType; | 120 | inherit cmakeBuildType; |
104 | }; | 121 | }; |
@@ -127,8 +144,6 @@ in rec { | |||
127 | dontStrip = if (cmakeBuildType == "Debug") then 1 else 0; | 144 | dontStrip = if (cmakeBuildType == "Debug") then 1 else 0; |
128 | 145 | ||
129 | src = kubeSrc; | 146 | src = kubeSrc; |
130 | doCheck = true; | ||
131 | checkPhase = "ctest -VV"; | ||
132 | 147 | ||
133 | inherit cmakeBuildType; | 148 | inherit cmakeBuildType; |
134 | }; | 149 | }; |