mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-22 12:35:11 +00:00
update test suite files
This commit is contained in:
parent
12d55ad99d
commit
d5a6d136e5
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue