Skip to content

Commit

Permalink
update test suite files
Browse files Browse the repository at this point in the history
  • Loading branch information
tildearrow committed Sep 23, 2022
1 parent 12d55ad commit d5a6d13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/assert_delta.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int main(int argc, char** argv) {
while ((totalRead=sf_readf_float(sf,buf,BUF_SIZE))!=0) {
for (int i=0; i<totalRead*si.channels; i++) {
if (buf[i]!=0.0f) {
printf("%ld\n",seekPos+(i/si.channels));
//printf("%ld\n",seekPos+(i/si.channels));
sf_close(sf);
free(buf);
return 1;
Expand Down
2 changes: 1 addition & 1 deletion test/furnace-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi
echo "furnace test suite begin..."
echo "--- STEP 1: render test files"
mkdir -p "test/result/$testDir" || exit 1
ls "test/songs/" | parallel --verbose -j4 ./build/furnace -output "test/result/$testDir/{0}.wav" "test/songs/{0}"
ls "test/songs/" | parallel --verbose -j8 ./build/furnace -output "test/result/$testDir/{0}.wav" "test/songs/{0}"
echo "--- STEP 2: calculate deltas"
if [ -z $lastTest ]; then
echo "skipping since this apparently is your first run."
Expand Down

0 comments on commit d5a6d13

Please sign in to comment.