VerifyingYourBuildREADME.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Windows:
  2. ========
  3. After compiling, you can validate your build by compressing a number
  4. of images and comparing to what you should get:
  5. 1. Start a command line prompt (Start-menu, type cmd, press enter)
  6. 2. cd the "testing" directory
  7. 3. run the program testvectors.bat (type testvectors.bat, hit enter)
  8. The system will now compress a number of images and store them in the
  9. "compressed" directory. Now type
  10. validate.bat > logfile.txt
  11. 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.
  12. Now examine your logfile.txt. If there are no errors, all file comparisons will show "FC: no differences encountered"
  13. If you have errors, some parts of your output will contain
  14. 000003EC: F9 CD
  15. 000003ED: DC BD
  16. 000003EE: BA AE
  17. 000003EF: 91 40
  18. 000003F2: 08 00
  19. 000003F3: 88 04
  20. 0000048C: 06 64
  21. 0000048D: 21 5C
  22. and your build was not successful.
  23. If you have cygwin installed, you can replace step 4 by
  24. 4. diff -r testvectors testvectors_correct
  25. If your build is correct there should be no output from the above command.
  26. Cygwin
  27. ======
  28. After compiling, you can validate your build by compressing a number
  29. of images and comparing to what you should get:
  30. 1. Start cygwin
  31. 2. cd the "testing" directory
  32. 3. run the program testvectors_cygwin.sh (type ./testvectors_cygwin.sh, hit enter)
  33. The system will now compress a number of images and store them in the
  34. "compressed" directory.
  35. 4. type diff -r testvectors testvectors_correct
  36. 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.
  37. If there are no differences between the two directories, diff will not print anything, and your build is correct.