Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testsuite overhaul -- all temp files end up in build, runtest.py call…
…ed directly and the run.py files shrink down to the bare minimum. Similar to the recent changes in OIIO testsuite.
- Loading branch information
Showing
102 changed files
with
338 additions
and
2,347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
dist | ||
build | ||
*.aux | ||
*.adx | ||
*.ind | ||
*.log | ||
*.out | ||
*.toc | ||
*.idx | ||
*.ilg | ||
*~ | ||
\#*\# | ||
*.pyc | ||
testsuite/*/*.oso | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*.aux | ||
*.adx | ||
*.ind | ||
*.log | ||
*.out | ||
*.toc | ||
*.idx | ||
*.ilg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,3 @@ | ||
#!/usr/bin/python | ||
|
||
import os | ||
import sys | ||
|
||
path = "" | ||
command = "" | ||
if len(sys.argv) > 2 : | ||
os.chdir (sys.argv[1]) | ||
path = sys.argv[2] + "/" | ||
|
||
# A command to run | ||
command = path + "oslc/oslc test.osl > out.txt" | ||
command = command + "; " + path + "testshade/testshade -g 2 2 test >> out.txt" | ||
|
||
# Outputs to check against references | ||
outputs = [ "out.txt" ] | ||
|
||
# Files that need to be cleaned up, IN ADDITION to outputs | ||
cleanfiles = [ ] | ||
|
||
|
||
# boilerplate | ||
sys.path = [".."] + sys.path | ||
import runtest | ||
ret = runtest.runtest (command, outputs, cleanfiles) | ||
sys.exit (ret) | ||
command = testshade("-g 2 2 test") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,3 @@ | ||
#!/usr/bin/python | ||
|
||
import os | ||
import sys | ||
|
||
path = "" | ||
command = "" | ||
if len(sys.argv) > 2 : | ||
os.chdir (sys.argv[1]) | ||
path = sys.argv[2] + "/" | ||
|
||
# A command to run | ||
command = path + "oslc/oslc test.osl > out.txt" | ||
command = command + "; " + path + "testshade/testshade -g 2 2 test >> out.txt" | ||
|
||
# Outputs to check against references | ||
outputs = [ "out.txt" ] | ||
|
||
# Files that need to be cleaned up, IN ADDITION to outputs | ||
cleanfiles = [ ] | ||
|
||
|
||
# boilerplate | ||
sys.path = [".."] + sys.path | ||
import runtest | ||
ret = runtest.runtest (command, outputs, cleanfiles) | ||
sys.exit (ret) | ||
command = testshade("-g 2 2 test") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,3 @@ | ||
#!/usr/bin/python | ||
|
||
import os | ||
import sys | ||
|
||
path = "" | ||
command = "" | ||
if len(sys.argv) > 2 : | ||
os.chdir (sys.argv[1]) | ||
path = sys.argv[2] + "/" | ||
|
||
# A command to run | ||
command = path + "oslc/oslc test.osl > out1.txt" | ||
command = command + "; " + path + "testshade/testshade test >& out2.txt" | ||
command = command + "; cat out1.txt out2.txt > out.txt" | ||
|
||
# Outputs to check against references | ||
outputs = [ "out.txt" ] | ||
|
||
# Files that need to be cleaned up, IN ADDITION to outputs | ||
cleanfiles = [ ] | ||
|
||
|
||
# boilerplate | ||
sys.path = [".."] + sys.path | ||
import runtest | ||
ret = runtest.runtest (command, outputs, cleanfiles) | ||
sys.exit (ret) | ||
command = testshade("test") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,3 @@ | ||
#!/usr/bin/python | ||
|
||
import os | ||
import sys | ||
|
||
path = "" | ||
command = "" | ||
if len(sys.argv) > 2 : | ||
os.chdir (sys.argv[1]) | ||
path = sys.argv[2] + "/" | ||
|
||
# A command to run | ||
command = path + "oslc/oslc test.osl > out.txt" | ||
command = command + "; " + path + "testshade/testshade -g 2 2 test >> out.txt" | ||
|
||
# Outputs to check against references | ||
outputs = [ "out.txt" ] | ||
|
||
# Files that need to be cleaned up, IN ADDITION to outputs | ||
cleanfiles = [ ] | ||
|
||
|
||
# boilerplate | ||
sys.path = [".."] + sys.path | ||
import runtest | ||
ret = runtest.runtest (command, outputs, cleanfiles) | ||
sys.exit (ret) | ||
command = testshade("-g 2 2 test") |
Oops, something went wrong.