Skip to content

Commit 40d9a7d

Browse files
authored
Disable unittest by default in the conanfile (#237)
1 parent d43c92b commit 40d9a7d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ScopeguardConan(ConanFile):
2424
"enable_compat_header": [True, False]
2525
}
2626
default_options = {
27-
"unittest": True,
27+
"unittest": False,
2828
"enable_compat_header": False
2929
}
3030
__requirements = [

script/ci_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ fi
2121
mkdir build && cd build
2222

2323
conan install \
24+
-o unittest=True \
2425
--build=missing \
2526
-of . \
2627
-s compiler.cppstd=17 \

script/conan_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ apt-get install -y pipx
88
pipx install conan
99

1010
conan profile detect
11-
conan create --build=missing .
11+
conan create -o unittest=True --build=missing .

0 commit comments

Comments
 (0)