Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 3dd9078

Browse files
author
kunkkaliu
committed
add check in the ximgprocTests
1 parent 66810a0 commit 3dd9078

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/tests/core/Mat/ximgprocTests.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ const {
77

88
module.exports = () => {
99
describe('guidedFilter', () => {
10+
if (!cv.xmodules.ximgproc) {
11+
it('compiled without ximgproc');
12+
return;
13+
}
14+
1015
const getDut = () => new cv.Mat(100, 100, cv.CV_8UC3);
1116

1217
const guide = new cv.Mat(100, 100, cv.CV_8UC3);

0 commit comments

Comments
 (0)