You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
942 B

  1. # !/bin/sh
  2. #
  3. # BDD Check:
  4. # Load BDDs
  5. # Make some operations (with reordering)
  6. # Store BDDs
  7. #
  8. rm -f *.*/tmp
  9. echo "---------------------------------------------------------------------------"
  10. echo "---------- TESTING Load/Store with sifting, varnames & varauxids ----------"
  11. echo "---------------------------------------------------------------------------"
  12. ./../testdddmp << END1
  13. mi
  14. 50
  15. onl
  16. varnames.ord
  17. bl
  18. 4.bdd
  19. 4
  20. oil
  21. varauxids.ord
  22. bs
  23. 4a.bdd.tmp
  24. 4
  25. dr
  26. 4
  27. bs
  28. 4b.bdd.tmp
  29. 4
  30. mq
  31. quit
  32. END1
  33. echo "------------------------- ... END PHASE 1 ... -----------------------------"
  34. ./../testdddmp << END2
  35. mi
  36. 50
  37. onl
  38. varnames.ord
  39. slm
  40. 3
  41. bl
  42. 4b.bdd.tmp
  43. 4
  44. oil
  45. varauxids.ord
  46. bs
  47. 4c.bdd.tmp
  48. 4
  49. mq
  50. quit
  51. END2
  52. echo "----------------------------- ... RESULTS ... -----------------------------"
  53. diff --brief 4.bdd 4a.bdd.tmp
  54. diff --brief 4a.bdd.tmp 4c.bdd.tmp
  55. echo "-------------------------------- ... END ----------------------------------"
  56. rm -f *.*.tmp