fix make distclean failure

commit 85cd72c0a80d64ddbfd3156743037925bb7f8f5f
"Add the drd/tests/bug322621 regression test"

introduced make distclean failure.
Fix it by using symlink instead of a relative path in
drd/tests/Makefile.

Also, revert "ignore .dirstamp file appearing in helgrind/tests directory"
This reverts commit 718b47e184bc090b9f2a5f22904f59a272c9018d.
This commit is contained in:
Petar Jovanovic 2018-06-15 12:37:33 +00:00
parent 93a1edae3f
commit 925414b384
4 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@ -641,7 +641,6 @@
/helgrind/tests/*.stdout.diff*
/helgrind/tests/*.stdout.out
/helgrind/tests/.deps
/helgrind/tests/.dirstamp
/helgrind/tests/annotate_hbefore
/helgrind/tests/annotate_rwlock
/helgrind/tests/bar_bad

View File

@ -470,7 +470,7 @@ AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) @FLAG_W_EXTRA@ @FLAG_FALIGNED_NEW@ \
LDADD = -lpthread
bug322621_SOURCES = ../../helgrind/tests/bug322621.cpp
bug322621_SOURCES = bug322621.cpp
concurrent_close_SOURCES = concurrent_close.cpp
dlopen_main_LDADD = -ldl
dlopen_lib_so_SOURCES = dlopen_lib.c

1
drd/tests/bug322621.cpp Symbolic link
View File

@ -0,0 +1 @@
../../helgrind/tests/bug322621.cpp

View File

@ -2,7 +2,7 @@
#include <pthread.h>
#include <iostream>
#include "../helgrind.h"
#include "../../helgrind/helgrind.h"
static int verbose;
static pthread_t ls_thread;