Skip to content

Commit

Permalink
make check -> make installcheck
Browse files Browse the repository at this point in the history
Since checks should now be run after install, use autotools installcheck
target
  • Loading branch information
pablooliveira committed Dec 11, 2016
1 parent f0142e9 commit 84a8ecf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ install:
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

script:
- make check
- make installcheck
- for i in $(find tests/ -maxdepth 1 -type d -name 'test_*' | sort ); do echo "************** TEST $i"; cat $i/test.log; done;
8 changes: 7 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ACLOCAL_AMFLAGS=-I m4
SUBDIRS=src/ tests/
SUBDIRS=src/
dist_bin_SCRIPTS=verificarlo


Expand All @@ -12,3 +12,9 @@ verificarlo: verificarlo.in Makefile
mv $@.tmp $@

CLEANFILES = verificarlo

check:
echo "Tests should be run after install with make installcheck"

installcheck:
$(MAKE) -C tests/ check
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Once installation is over, we recommend that you run the test suite to ensure
verificarlo works as expected on your system:

```bash
$ make check
$ make installcheck
```

If you disable dragonegg support during configure, fortran_test will fail.
Expand All @@ -66,7 +66,7 @@ install procedure:
CC=gcc-4.7
$ make
$ sudo make install
$ make check
$ make installcheck
```

### Usage
Expand Down

0 comments on commit 84a8ecf

Please sign in to comment.