mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 00:45:47 +00:00
test-reorg iterate
This commit is contained in:
parent
5bd3d3d60c
commit
c8a585fa07
68 changed files with 12 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
SUBDIRS= lib cli stream input mapping output containers dsls experimental tools . test
|
||||
SUBDIRS= lib cli stream input mapping output containers dsls experimental tools . reg_test
|
||||
|
||||
AM_CPPFLAGS= -I${srcdir}
|
||||
AM_CFLAGS= -Wall -Werror -std=gnu99 -O3
|
||||
|
|
|
|||
|
|
@ -207,13 +207,13 @@ unit-test: test-mlrutil test-argparse test-byte-readers test-peek-file-reader te
|
|||
@echo DONE
|
||||
|
||||
reg-test:
|
||||
./test/run
|
||||
./reg_test/run
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# Run this after unit-test expected output has changed, and is verified to be
|
||||
# OK. (Example: after adding new test cases in test/run.)
|
||||
regtest-copy:
|
||||
cp output/out test/expected
|
||||
cp output/out reg_test/expected
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# Unit-test executables
|
||||
|
|
|
|||
|
|
@ -15,19 +15,19 @@ set -e
|
|||
|
||||
# For building with autoconf:
|
||||
# * in-directory build:
|
||||
# pwd is /path/to/the/tree/c/test
|
||||
# path to mlr is /path/to/the/tree/c/mlr
|
||||
# path to test/run is /path/to/the/tree/c/test/run
|
||||
# pwd is /path/to/the/tree/c/reg_test
|
||||
# path to mlr is /path/to/the/tree/c/mlr
|
||||
# path to reg_test/run is /path/to/the/tree/c/reg_test/run
|
||||
#
|
||||
# * out-of-directory ("VPATH") build:
|
||||
# pwd is /path/to/build/tree/c/test
|
||||
# path to mlr is /path/to/build/tree/c/mlr
|
||||
# path to test/run is /path/to/source/tree/c/test/run
|
||||
# pwd is /path/to/build/tree/c/reg_test
|
||||
# path to mlr is /path/to/build/tree/c/mlr
|
||||
# path to reg_test/run is /path/to/source/tree/c/reg_test/run
|
||||
|
||||
# For building without autoconf:
|
||||
# pwd is /does/not/matter
|
||||
# path to mlr is /path/to/the/tree/c/mlr
|
||||
# path to test/run is /path/to/the/tree/c/test/run
|
||||
# pwd is /does/not/matter
|
||||
# path to mlr is /path/to/the/tree/c/mlr
|
||||
# path to reg_test/run is /path/to/the/tree/c/reg_test/run
|
||||
|
||||
ourdir=`dirname $0`
|
||||
srcdir=$ourdir/../..
|
||||
Loading…
Add table
Add a link
Reference in a new issue