[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-myserver] Incorrect use of Automake's $(TESTS)
From: |
Ludovic Courtès |
Subject: |
[bug-myserver] Incorrect use of Automake's $(TESTS) |
Date: |
Wed, 19 Aug 2009 16:36:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hello!
In the process of packaging MyServer for NixOS, I stumbled upon this
error:
--8<---------------cut here---------------start------------->8---
make check-TESTS
make[2]: Entering directory
`/tmp/nix-build-0i9yyd4xsmfcfkkcnqffy9dmb9prv7x1-myserver-0.9.drv-0/myserver-0.9'
/bin/sh: line 9: ./tests: is a directory
FAIL: tests
=====================================
1 of 1 test failed
Please report to address@hidden
=====================================
--8<---------------cut here---------------end--------------->8---
I believe this is caused by this construct in the top-level
`Makefile.am':
--8<---------------cut here---------------start------------->8---
if BUILD_TESTS
TESTS = tests
endif
--8<---------------cut here---------------end--------------->8---
It should be renamed to `test_dir' or similar, because the name `TESTS'
must denote a list of programs to be run by the Automake-generated
makefile when typing "make check".
Thanks,
Ludo'.
- [bug-myserver] Incorrect use of Automake's $(TESTS),
Ludovic Courtès <=