|
51 | 51 | timeout-minutes: 60
|
52 | 52 | if: ${{ github.event.repository.name == 'ci-gha-workflow' }}
|
53 | 53 | run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV
|
| 54 | + - name: Setup test environment |
| 55 | + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} |
| 56 | + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV |
54 | 57 | - name: PR info
|
55 | 58 | timeout-minutes: 60
|
56 | 59 | run: |
|
@@ -117,57 +120,57 @@ jobs:
|
117 | 120 | # - name: Accuracy:cudaarithm
|
118 | 121 | # timeout-minutes: 60
|
119 | 122 | # if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
120 |
| - # run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaarithm --test_threads=${{ env.PARALLEL_JOBS }} |
| 123 | + # run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaarithm --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
121 | 124 | - name: Accuracy:cudabgsegm
|
122 | 125 | timeout-minutes: 60
|
123 | 126 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
124 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudabgsegm --test_threads=${{ env.PARALLEL_JOBS }} |
| 127 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudabgsegm --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
125 | 128 | - name: Accuracy:cudacodec
|
126 | 129 | timeout-minutes: 60
|
127 | 130 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
128 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudacodec --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} |
| 131 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudacodec --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} |
129 | 132 | env:
|
130 | 133 | GTEST_FILTER_STRING: '-CUDA_Codec/CheckKeyFrame.Reader/8:CUDA_Codec/CheckKeyFrame.Reader/9:CUDA_Codec/Video.Reader/8:CUDA_Codec/Video.Reader/9'
|
131 | 134 | - name: Accuracy:cudafeatures2d
|
132 | 135 | timeout-minutes: 60
|
133 | 136 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
134 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafeatures2d --test_threads=${{ env.PARALLEL_JOBS }} |
| 137 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafeatures2d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
135 | 138 | - name: Accuracy:cudafilters
|
136 | 139 | timeout-minutes: 60
|
137 | 140 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
138 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafilters --test_threads=${{ env.PARALLEL_JOBS }} |
| 141 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafilters --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
139 | 142 | - name: Accuracy:cudaimgproc
|
140 | 143 | timeout-minutes: 60
|
141 | 144 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
142 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaimgproc --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} |
| 145 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaimgproc --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} |
143 | 146 | env:
|
144 | 147 | GTEST_FILTER_STRING: '-CUDA_ImgProc/HoughLinesProbabilistic.Accuracy/1:CUDA_ImgProc/HoughLinesProbabilistic.Accuracy/2:CUDA_ImgProc/HoughLinesProbabilistic.Accuracy/3:CUDA_ImgProc/HoughCircles.Accuracy/0'
|
145 | 148 | - name: Accuracy:cudalegacy
|
146 | 149 | timeout-minutes: 60
|
147 | 150 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
148 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudalegacy --test_threads=${{ env.PARALLEL_JOBS }} |
| 151 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudalegacy --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
149 | 152 | - name: Accuracy:cudaobjdetect
|
150 | 153 | timeout-minutes: 60
|
151 | 154 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
152 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaobjdetect --test_threads=${{ env.PARALLEL_JOBS }} |
| 155 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaobjdetect --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
153 | 156 | - name: Accuracy:cudaoptflow
|
154 | 157 | timeout-minutes: 60
|
155 | 158 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
156 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaoptflow --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} |
| 159 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaoptflow --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} |
157 | 160 | env:
|
158 | 161 | GTEST_FILTER_STRING: '-CUDA_OptFlow/NvidiaOpticalFlow_1_0.Regression/0:CUDA_OptFlow/NvidiaOpticalFlow_1_0.OpticalFlowNan/0:CUDA_OptFlow/NvidiaOpticalFlow_2_0.Regression/0:CUDA_OptFlow/NvidiaOpticalFlow_2_0.OpticalFlowNan/0'
|
159 | 162 | - name: Accuracy:cudastereo
|
160 | 163 | timeout-minutes: 60
|
161 | 164 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
162 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudastereo --test_threads=${{ env.PARALLEL_JOBS }} |
| 165 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudastereo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
163 | 166 | - name: Accuracy:cudawarping
|
164 | 167 | timeout-minutes: 60
|
165 | 168 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
166 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudawarping --test_threads=${{ env.PARALLEL_JOBS }} |
| 169 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudawarping --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
167 | 170 | - name: Accuracy:cudev
|
168 | 171 | timeout-minutes: 60
|
169 | 172 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
170 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudev --test_threads=${{ env.PARALLEL_JOBS }} |
| 173 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudev --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
171 | 174 | - name: Performance:cudaarithm
|
172 | 175 | timeout-minutes: 60
|
173 | 176 | if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
|
|
0 commit comments