Skip to content

Commit 7713fc9

Browse files
authored
Merge pull request #990 from simoninns/issue985-202512
Issue985 202512
2 parents 0a4de7b + 1cab2ad commit 7713fc9

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
url = https://github.com/pjkundert/ezpwd-reed-solomon.git
44
[submodule "testdata"]
55
path = testdata
6-
url = https://github.com/happycube/ld-decode-testdata
6+
url = https://github.com/happycube/ld-decode-testdata-ci

BUILD.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
This project uses CMake and enforces out-of-source builds. All build artifacts are kept in a separate `build/` directory, keeping the source tree clean.
44

5+
## Cloning the Repository
6+
7+
This project uses git submodules for test data and dependencies. Clone the repository with `--recursive` to automatically fetch all submodules:
8+
9+
```bash
10+
git clone --recursive https://github.com/happycube/ld-decode.git
11+
cd ld-decode
12+
```
13+
14+
**If you already cloned without `--recursive`**, initialize and update submodules:
15+
16+
```bash
17+
git submodule update --init --recursive
18+
```
19+
520
## Quick Start
621

722
```bash

cmake_modules/LdDecodeTests.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ add_test(
5858
--cut-length 4
5959
--expect-frames 4
6060
--expect-vbi 9151563,15925845,15925845
61-
${TESTDATA_DIR}/ve-snw-cut.lds
61+
${TESTDATA_DIR}/ntsc/ve-snw-cut.ldf
6262
)
6363

6464
add_test(
@@ -85,7 +85,7 @@ add_test(
8585
--expect-bpsnr 43.3
8686
--expect-vbi 9151563,15925840,15925840
8787
--expect-efm-samples 40572
88-
${TESTDATA_DIR}/ve-snw-cut.lds
88+
${TESTDATA_DIR}/ntsc/ve-snw-cut.ldf
8989
)
9090

9191
add_test(
@@ -97,7 +97,7 @@ add_test(
9797
--expect-frames 4
9898
--expect-bpsnr 37.6
9999
--expect-vbi 9167913,15785241,15785241
100-
${TESTDATA_DIR}/issues/176/issue176.lds
100+
${TESTDATA_DIR}/ntsc/issue176.ldf
101101
)
102102

103103
add_test(
@@ -111,7 +111,7 @@ add_test(
111111
--expect-vbi 9151527,16065688,16065688
112112
--expect-vitc 2,10,8,13,4,3,0,1
113113
--expect-efm-samples 5292
114-
${TESTDATA_DIR}/pal/jason-testpattern.lds
114+
${TESTDATA_DIR}/pal/jason-testpattern.ldf
115115
)
116116

117117
add_test(
@@ -129,7 +129,7 @@ add_test(
129129
NAME ldf-reader-full
130130
COMMAND ${SCRIPTS_DIR}/test-ldf-reader
131131
--build ${CMAKE_BINARY_DIR}
132-
--testdata ${TESTDATA_DIR}
132+
--testdata ${TESTDATA_DIR}/ntsc
133133
--input ggv-ntsc-mb-v2800.ldf
134134
--full-sha256 0984ab9a4e66b49426b61e2d4de266e7783801dc48f566ed805257bc596098ec
135135
--offset 1000000

testdata

0 commit comments

Comments
 (0)