File: run_test.sh

package info (click to toggle)
caret 5.6.4~dfsg.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 31,904 kB
  • ctags: 28,901
  • sloc: cpp: 378,050; python: 6,718; ansic: 5,507; makefile: 333; sh: 46
file content (27 lines) | stat: -rwxr-xr-x 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
#
# Test rending of surface shape data
#

#
# Use black background
#
caret_command -preferences-file-settings  \
         -background-color  0  0  0 \

#
# Show the scene
#
caret_command -show-scene \
    caret_file_check.spec \
   Human.crap.R.test.scene \
   1 \
   -image-file image1-test.jpg   1 

#
# Compare to the correct image
#
caret_command -image-compare \
   image1-test.jpg \
   image1-correct.jpg \
   -tol 10