File: _oasis

package info (click to toggle)
ocaml-expect 0.0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 228 kB
  • sloc: ml: 526; makefile: 81
file content (70 lines) | stat: -rw-r--r-- 1,877 bytes parent folder | download | duplicates (2)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
OASISFormat: 0.3
Name:        ocaml-expect
Version: 0.0.6
Synopsis:    Expect-like framework
Copyrights:  (C) 2010 OCamlCore SARL
Authors:     Sylvain Le Gall
License:     LGPL-2.1 with OCaml linking exception
LicenseFile: COPYING.txt
Plugins:     META (0.2), StdFiles (0.2), DevFiles (0.2)
BuildTools:  ocamlbuild
Homepage:    http://forge.ocamlcore.org/projects/ocaml-expect/

Description:
  This is a simple implementation of `expect` to help building unitary testing
  of interactive program.
  .
  It helps to receive question and send answers from an interactive process.
  You can match the question using a regular expression (Str). You can also
  use a timeout to ensure that the process answer in time.
  .
  See the [Expect manual](http://expect.nist.gov/) for more information and
  example.

Library expect
  Path:    src
  Modules: Expect
  BuildDepends: unix, batteries, bytes

Library "expect-pcre"
  Path: src
  Modules: ExpectPcre
  BuildDepends: expect, re
  FindlibParent: expect
  FindlibName: pcre

Library "expect-str"
  Path: src
  Modules: ExpectStr
  BuildDepends: expect, str
  FindlibParent: expect
  FindlibName: str

Executable test
  Path:   test
  MainIs: test.ml
  BuildDepends: oUnit (>= 2.0.0), expect, expect.str, expect.pcre, threads
  Install: false
  Build$: flag(tests)

Executable qa
  Path:    test
  MainIs:  qa.ml
  Install: false
  Build$: flag(tests)

Test main
  Command: $test

Document "api-expect"
  Title:                API reference for Expect
  Type:                 ocamlbuild (0.1.0)
  InstallDir:           $htmldir/expect
  BuildTools+:          ocamldoc
  XOCamlbuildPath:      src/
  XOCamlbuildLibraries: expect, expect.pcre, expect.str

SourceRepository head
  Type: darcs
  Location: http://darcs.ocamlcore.org/repos/ocaml-expect
  Browser: http://darcs.ocamlcore.org/cgi-bin/darcsweb.cgi?r=ocaml-expect;a=summary