Skip to content

Commit

Permalink
Fixed compilation of generate_test_files.sh on linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
end2endzone committed Jan 26, 2019
1 parent 7d9c39b commit 79e03e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/bin2cpp_unittest/generate_test_files.bat.in
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ mkdir %OUTDIR% 1>NUL 2>NUL
set TEST_NAME=testDir01
set OUTDIR=.\generated_files\%TEST_NAME%
mkdir %OUTDIR% 1>NUL 2>NUL
mkdir %OUTDIR%\images 1>NUL 2>NUL
mkdir %OUTDIR%\sources 1>NUL 2>NUL
@TESTFILEGENERATOR_TARGET_FILE@ --file=%OUTDIR%\images\IMG_0001.jpg --size=1010 --fill=random --seed=1
@TESTFILEGENERATOR_TARGET_FILE@ --file=%OUTDIR%\images\IMG_0002.jpg --size=1020 --fill=random --seed=2
@TESTFILEGENERATOR_TARGET_FILE@ --file=%OUTDIR%\images\IMG_0003.jpg --size=1030 --fill=random --seed=3
Expand Down
2 changes: 2 additions & 0 deletions test/bin2cpp_unittest/generate_test_files.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ mkdir -p ${OUTDIR}
export TEST_NAME=testDir01
export OUTDIR=./generated_files/$TEST_NAME
mkdir -p ${OUTDIR}
mkdir -p ${OUTDIR}/images
mkdir -p ${OUTDIR}/sources
@TESTFILEGENERATOR_TARGET_FILE@ --file=$OUTDIR/images/IMG_0001.jpg --size=1010 --fill=random --seed=1
@TESTFILEGENERATOR_TARGET_FILE@ --file=$OUTDIR/images/IMG_0002.jpg --size=1020 --fill=random --seed=2
@TESTFILEGENERATOR_TARGET_FILE@ --file=$OUTDIR/images/IMG_0003.jpg --size=1030 --fill=random --seed=3
Expand Down

0 comments on commit 79e03e0

Please sign in to comment.