We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d50ea4 commit 5ba5d5bCopy full SHA for 5ba5d5b
tests/run-tests.cpp
@@ -26,6 +26,8 @@ int main() {
26
27
int total = 0, passed = 0;
28
for (char version = 1; version <= 40; version++) {
29
+ if (LOCK_VERSION != 0 && LOCK_VERSION != version) { continue; }
30
+
31
for (char ecc = 0; ecc < 4; ecc++) {
32
const qrcodegen::QrCode::Ecc *errCorLvl;
33
switch (ecc) {
tests/run.sh
@@ -1,4 +1,5 @@
1
#!/bin/bash
2
3
clang++ run-tests.cpp QrCode.cpp QrSegment.cpp BitBuffer.cpp ../src/qrcode.c -o test && ./test
4
+clang++ run-tests.cpp QrCode.cpp QrSegment.cpp BitBuffer.cpp ../src/qrcode.c -o test -D LOCK_VERSION=3 && ./test
5
0 commit comments