Changeset 42ad917


Ignore:
Timestamp:
Oct 3, 2009, 1:52:56 AM (12 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e4f4287
Parents:
69c27e6
git-author:
David Benjamin <davidben@mit.edu> (09/24/09 23:17:03)
git-committer:
David Benjamin <davidben@mit.edu> (10/03/09 01:52:56)
Message:
Add perl_tester to run perl in barnowl environment

Main function shameless borrowed from perldoc perlembed.

Signed-off-by: David Benjamin <davidben@mit.edu>
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    rb9c8d28 r42ad917  
    2828owl_prototypes.h
    2929owl_prototypes.h.new
     30perl_tester
    3031perlglue.c
    3132perlwrap.c
  • Makefile.am

    r3d9f4d3 r42ad917  
    11bin_PROGRAMS = barnowl.bin
    2 check_PROGRAMS = tester
     2check_PROGRAMS = tester perl_tester
    33
    44barnowl_bin_SOURCES = $(BASE_SRCS) \
     
    1717
    1818tester_LDADD = libfaim/libfaim.a libzcrypt.a
     19
     20perl_tester_SOURCES = $(BASE_SRCS) \
     21     owl.h owl_perl.h config.h \
     22     libzcrypt.a \
     23     $(GEN_C) $(GEN_H) \
     24     perl_tester.c
     25
     26perl_tester_LDADD = libfaim/libfaim.a libzcrypt.a
    1927
    2028TESTS=runtests.sh
  • runtests.sh

    r2fa9a1a0 r42ad917  
    11#!/bin/sh
    2 prove t/
     2prove t/ --perl ./perl_tester
  • t/mock.pl

    r776c4bb r42ad917  
    77use Carp;
    88
    9 sub bootstrap {}
    109sub get_data_dir {"."}
    1110sub get_config_dir {"."}
Note: See TracChangeset for help on using the changeset viewer.