~ubuntu-branches/ubuntu/hardy/pxp/hardy

« back to all changes in this revision

Viewing changes to rtests/codewriter/test_codewriter

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Zacchiroli
  • Date: 2005-03-29 11:06:39 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050329110639-5p39hz1d4aq3r2ec
Tags: 1.1.95-6
* Rebuilt against ocaml 3.08.3
* No longer built with wlex support (since wlex is no longer supported
  upstream and corresponding package has been removed from the debian
  archive)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
echo "Testing $sample:"
7
7
./compile -in "$sample" -out "sample.ml" -print -super-root -pis -comments >"out1"
8
8
echo "- code written to sample.ml, formatted data to out1"
9
 
OCAMLPATH=../../src ocamlfind ocamlc -package pxp -linkpkg -custom sample.ml -o sample
 
9
OCAMLPATH=../../src:../../gensrc:$OCAMLPATH ocamlfind ocamlc -package pxp -a sample.ml -o sample.cma
 
10
../create-wrapper sample
10
11
echo "- sample.ml compiled to sample"
11
12
./sample >out2
12
13
echo "- re-read data written to out2"