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.

39 lines
959 B

  1. #! /bin/sh
  2. #
  3. # Check BDDs from DDDMP-1.0:
  4. # Load an Array of BDDs from DDDMP-1.0
  5. # Store them
  6. #
  7. EXE=@EXEEXT@
  8. srcdir=@top_srcdir@
  9. where=${srcdir}/dddmp/exp
  10. dest=.
  11. exitval=0
  12. echo "---------------------------------------------------------------------------"
  13. echo "-------------------- TESTING Load BDD from DDDMP-1.0 ----------------------"
  14. echo "---------------------------------------------------------------------------"
  15. ../testdddmp$EXE << END
  16. mi
  17. 10
  18. hlb
  19. ${where}/s27deltaDddmp1.bdd
  20. hw
  21. bal
  22. ${where}/s27deltaDddmp1.bdd
  23. 0
  24. bas
  25. ${dest}/s27deltaDddmp1.bdd.tmp
  26. 0
  27. mq
  28. quit
  29. END
  30. test $? != 1 && exitval=1
  31. echo "----------------------------- ... RESULTS ... -----------------------------"
  32. diff --strip-trailing-cr --brief ${dest}/s27deltaDddmp1.bdd.tmp \
  33. ${where}/s27deltaDddmp1.bdd.bis
  34. test $? != 0 && exitval=1
  35. echo "-------------------------------- ... END ----------------------------------"
  36. rm -f ${dest}/s27deltaDddmp1.bdd.tmp
  37. exit $exitval