-
Notifications
You must be signed in to change notification settings - Fork 72
/
VerifyingYourBuildREADME.txt
executable file
·56 lines (37 loc) · 1.94 KB
/
VerifyingYourBuildREADME.txt
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Windows:
========
After compiling, you can validate your build by compressing a number
of images and comparing to what you should get:
1. Start a command line prompt (Start-menu, type cmd, press enter)
2. cd the "testing" directory
3. run the program testvectors.bat (type testvectors.bat, hit enter)
The system will now compress a number of images and store them in the
"compressed" directory. Now type
validate.bat > logfile.txt
This will compare the two directories "testvectors_correct" and "testvectors". The directory "testvectors_correct" contains the correctly compressed and uncompressed versions and "testvectors" is the output from your build.
Now examine your logfile.txt. If there are no errors, all file comparisons will show "FC: no differences encountered"
If you have errors, some parts of your output will contain
000003EC: F9 CD
000003ED: DC BD
000003EE: BA AE
000003EF: 91 40
000003F2: 08 00
000003F3: 88 04
0000048C: 06 64
0000048D: 21 5C
and your build was not successful.
If you have cygwin installed, you can replace step 4 by
4. diff -r testvectors testvectors_correct
If your build is correct there should be no output from the above command.
Cygwin
======
After compiling, you can validate your build by compressing a number
of images and comparing to what you should get:
1. Start cygwin
2. cd the "testing" directory
3. run the program testvectors_cygwin.sh (type ./testvectors_cygwin.sh, hit enter)
The system will now compress a number of images and store them in the
"compressed" directory.
4. type diff -r testvectors testvectors_correct
This will compare the two directories "testvectors_correct" and "testvectors". The directory "testvectors_correct" contains the correctly compressed and uncompressed versions and "testvectors" is the output from your build.
If there are no differences between the two directories, diff will not print anything, and your build is correct.