@@ -60,130 +60,130 @@ jobs:
6060 GTEST_COLOR : ' yes'
6161 OMP_NUM_THREADS : ' 2'
6262 run : |
63- cmake --build build --target test ARGS="- V --timeout 1700 -R integrated_test"
64-
63+ ctest --test-dir build -V --timeout 1700 -R integrated_test
64+
6565 - name : Module_Base Unittests
6666 env :
6767 GTEST_COLOR : ' yes'
6868 OMP_NUM_THREADS : ' 2'
6969 run : |
70- cmake --build build --target test ARGS="- V --timeout 1700 -R MODULE_BASE"
71-
70+ ctest --test-dir build -V --timeout 1700 -R MODULE_BASE
71+
7272 - name : Module_IO Unittests
7373 env :
7474 GTEST_COLOR : ' yes'
7575 OMP_NUM_THREADS : ' 2'
7676 run : |
77- cmake --build build --target test ARGS="- V --timeout 1700 -R MODULE_IO"
78-
77+ ctest --test-dir build -V --timeout 1700 -R MODULE_IO
78+
7979 - name : Module_HSolver Unittests
8080 env :
8181 GTEST_COLOR : ' yes'
8282 OMP_NUM_THREADS : ' 2'
8383 run : |
84- cmake --build build --target test ARGS="- V --timeout 1700 -R MODULE_HSOLVER"
85-
84+ ctest --test-dir build -V --timeout 1700 -R MODULE_HSOLVER
85+
8686 - name : Module_Cell Unittests
8787 env :
8888 GTEST_COLOR : ' yes'
8989 OMP_NUM_THREADS : ' 2'
9090 run : |
91- cmake --build build --target test ARGS="- V --timeout 1700 -R MODULE_CELL"
92-
91+ ctest --test-dir build -V --timeout 1700 -R MODULE_CELL
92+
9393 - name : Module_MD Unittests
9494 env :
9595 GTEST_COLOR : ' yes'
9696 OMP_NUM_THREADS : ' 2'
9797 run : |
98- cmake --build build --target test ARGS="- V --timeout 1700 -R MODULE_MD"
99-
98+ ctest --test-dir build -V --timeout 1700 -R MODULE_MD
99+
100100 - name : source_psi Unittests
101101 env :
102102 GTEST_COLOR : ' yes'
103103 OMP_NUM_THREADS : ' 2'
104104 run : |
105- cmake --build build --target test ARGS="- V --timeout 1700 -R source_psi"
106-
105+ ctest --test-dir build -V --timeout 1700 -R source_psi
106+
107107 - name : Module_RI Unittests
108108 env :
109109 GTEST_COLOR : ' yes'
110110 OMP_NUM_THREADS : ' 2'
111111 run : |
112- cmake --build build --target test ARGS="- V --timeout 1700 -R MODULE_RI"
113-
112+ ctest --test-dir build -V --timeout 1700 -R MODULE_RI
113+
114114 - name : 01_PW Test
115115 env :
116116 GTEST_COLOR : ' yes'
117117 OMP_NUM_THREADS : ' 2'
118118 run : |
119- cmake --build build --target test ARGS="- V --timeout 1700 -R 01_PW"
120-
119+ ctest --test-dir build -V --timeout 1700 -R 01_PW
120+
121121 - name : 02_NAO_Gamma Test
122122 env :
123123 GTEST_COLOR : ' yes'
124124 OMP_NUM_THREADS : ' 2'
125125 run : |
126- cmake --build build --target test ARGS="- V --timeout 1700 -R 02_NAO_Gamma"
127-
126+ ctest --test-dir build -V --timeout 1700 -R 02_NAO_Gamma
127+
128128 - name : 03_NAO_multik Test
129129 env :
130130 GTEST_COLOR : ' yes'
131131 OMP_NUM_THREADS : ' 2'
132132 run : |
133- cmake --build build --target test ARGS="- V --timeout 1700 -R 03_NAO_multik"
134-
133+ ctest --test-dir build -V --timeout 1700 -R 03_NAO_multik
134+
135135 - name : 04_FF Test
136136 env :
137137 GTEST_COLOR : ' yes'
138138 OMP_NUM_THREADS : ' 2'
139139 run : |
140- cmake --build build --target test ARGS="- V --timeout 1700 -R 04_FF"
141-
140+ ctest --test-dir build -V --timeout 1700 -R 04_FF
141+
142142 - name : 05_rtTDDFT Test
143143 env :
144144 GTEST_COLOR : ' yes'
145145 OMP_NUM_THREADS : ' 2'
146146 run : |
147- cmake --build build --target test ARGS="- V --timeout 1700 -R 05_rtTDDFT"
148-
147+ ctest --test-dir build -V --timeout 1700 -R 05_rtTDDFT
148+
149149 - name : 06_SDFT Test
150150 env :
151151 GTEST_COLOR : ' yes'
152152 OMP_NUM_THREADS : ' 2'
153153 run : |
154- cmake --build build --target test ARGS="- V --timeout 1700 -R 06_SDFT"
155-
154+ ctest --test-dir build -V --timeout 1700 -R 06_SDFT
155+
156156 - name : 07_OFDFT Test
157157 env :
158158 GTEST_COLOR : ' yes'
159159 OMP_NUM_THREADS : ' 2'
160160 run : |
161- cmake --build build --target test ARGS="- V --timeout 1700 -R 07_OFDFT"
162-
161+ ctest --test-dir build -V --timeout 1700 -R 07_OFDFT
162+
163163 - name : 08_EXX Test
164164 env :
165165 GTEST_COLOR : ' yes'
166166 OMP_NUM_THREADS : ' 2'
167167 run : |
168- cmake --build build --target test ARGS="- V --timeout 1700 -R 08_EXX"
169-
168+ ctest --test-dir build -V --timeout 1700 -R 08_EXX
169+
170170 - name : 09_DeePKS Test
171171 env :
172172 GTEST_COLOR : ' yes'
173173 OMP_NUM_THREADS : ' 2'
174174 run : |
175- cmake --build build --target test ARGS="- V --timeout 1700 -R 09_DeePKS"
176-
175+ ctest --test-dir build -V --timeout 1700 -R 09_DeePKS
176+
177177 - name : 10_others Test
178178 env :
179179 GTEST_COLOR : ' yes'
180180 OMP_NUM_THREADS : ' 2'
181181 run : |
182- cmake --build build --target test ARGS="- V --timeout 1700 -R 10_others"
183-
182+ ctest --test-dir build -V --timeout 1700 -R 10_others
183+
184184 - name : Other Unittests
185185 env :
186186 GTEST_COLOR : ' yes'
187187 OMP_NUM_THREADS : ' 2'
188188 run : |
189- cmake --build build --target test ARGS="- V --timeout 1700 -E 'integrate_test|01_PW|02_NAO_Gamma|03_NAO_multik|04_FF|05_rtTDDFT|06_SDFT|07_OFDFT|08_EXX|09_DeePKS|10_others|11_PW_GPU|12_NAO_Gamma_GPU|13_NAO_multik_GPU|15_rtTDDFT_GPU|16_SDFT_GPU|MODULE_BASE|MODULE_IO|MODULE_HSOLVER|MODULE_CELL|MODULE_MD|source_psi|MODULE_RI'"
189+ ctest --test-dir build -V --timeout 1700 -E 'integrate_test|01_PW|02_NAO_Gamma|03_NAO_multik|04_FF|05_rtTDDFT|06_SDFT|07_OFDFT|08_EXX|09_DeePKS|10_others|11_PW_GPU|12_NAO_Gamma_GPU|13_NAO_multik_GPU|15_rtTDDFT_GPU|16_SDFT_GPU|MODULE_BASE|MODULE_IO|MODULE_HSOLVER|MODULE_CELL|MODULE_MD|source_psi|MODULE_RI'
0 commit comments