# Builds the regexp tests.

# Copyright 2003 Walter Landry

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.

# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA

Import('env','libhackerlab','test_objects')

test_objects+=[env.Test('unit-dfa-iso8859-1.test',
                        ['unit-dfa-iso8859-1.sh',
                         env.Program('unit-dfa-iso8859-1',
                                     ['unit-dfa-iso8859-1.c',libhackerlab])]),
               env.Test('unit-dfa-utf-no-surrogates.test',
                        ['unit-dfa-utf-no-surrogates.sh',
                         env.Program('unit-dfa-utf-no-surrogates',
                                     ['unit-dfa-utf-no-surrogates.c',
                                      libhackerlab])]),
               env.Test('unit-dfa-utf.test',
                        ['unit-dfa-utf.sh',
                         env.Program('unit-dfa-utf',['unit-dfa-utf.c',
                                                     libhackerlab])]),
               env.Test('unit-dfa-utf16.test',
                        ['unit-dfa-utf16.sh',
                         env.Program('unit-dfa-utf16',['unit-dfa-utf16.c',
                                                       libhackerlab])]),
               env.Test('unit-dfa-utf8.test',
                        ['unit-dfa-utf8.sh',
                         env.Program('unit-dfa-utf8',['unit-dfa-utf8.c',
                                                      libhackerlab])])]
