[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-myserver] Incorrect use of Automake's $(TESTS)
From: |
Giuseppe Scrivano |
Subject: |
Re: [bug-myserver] Incorrect use of Automake's $(TESTS) |
Date: |
Wed, 19 Aug 2009 17:48:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Hi Ludovic,
thanks for the report. I am going to fix it.
Cheers,
Giuseppe
address@hidden (Ludovic Courtès) writes:
> Hello!
>
> In the process of packaging MyServer for NixOS, I stumbled upon this
> error:
>
> 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
> =====================================
>
> I believe this is caused by this construct in the top-level
> `Makefile.am':
>
> if BUILD_TESTS
> TESTS = tests
> endif
>
> 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'.