fp: put test name in window title, add run script
This commit is contained in:
+2
-2
@@ -154,11 +154,11 @@ int main(int argc, char **argv)
|
||||
glutInitWindowPosition(0, 0);
|
||||
glutInitWindowSize(250, 250);
|
||||
glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH);
|
||||
glutCreateWindow(argv[0]);
|
||||
args(argc, argv);
|
||||
glutCreateWindow(filename);
|
||||
glutReshapeFunc(Reshape);
|
||||
glutKeyboardFunc(Key);
|
||||
glutDisplayFunc(Display);
|
||||
args(argc, argv);
|
||||
Init();
|
||||
if (show_fps) {
|
||||
signal(SIGALRM, alarmhandler);
|
||||
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
for i in *.txt ; do
|
||||
echo $i
|
||||
./fp-tri $i
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user