Changeset a468e1e9 for tests/Makefile.am


Ignore:
Timestamp:
Dec 8, 2020, 11:03:42 AM (11 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
a778e8e
Parents:
08ce416
Message:

Test script now supports --list-dist which list all the files needed for tests.
Added dist-hook using --list-dist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r08ce416 ra468e1e9  
    6868.INTERMEDIATE: .validate .validate.cfa
    6969EXTRA_PROGRAMS = avl_test .dummy_hack # build but do not install
    70 EXTRA_DIST = pybin
     70EXTRA_DIST = test.py \
     71        pybin/__init__.py \
     72        pybin/print-core.gdb \
     73        pybin/settings.py \
     74        pybin/test_run.py \
     75        pybin/tools.py \
     76        long_tests.hfa \
     77        avltree/avl.h \
     78        avltree/avl-private.h \
     79        exceptions/with-threads.hfa \
     80        exceptions/except-io.hfa
     81
     82dist-hook:
     83        echo "Gathering test files"
     84        for file in `${TEST_PY} --list-dist`; do \
     85                if test -f ${srcdir}/$${file}; then \
     86                        $(MKDIR_P) $$(dirname ${distdir}/$${file}); \
     87                        cp -df ${srcdir}/$${file} ${distdir}/$${file}; \
     88                fi; \
     89        done
    7190
    7291avl_test_SOURCES = avltree/avl_test.cfa avltree/avl0.cfa avltree/avl1.cfa avltree/avl2.cfa avltree/avl3.cfa avltree/avl4.cfa avltree/avl-private.cfa
Note: See TracChangeset for help on using the changeset viewer.