summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-08-09 15:35:25 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-08-09 15:35:25 +0400
commitda81cba30247749a6a29a296335b89049df54716 (patch)
tree6779d8f1b888ac17972f25955fa80867c0824b3b /tests
parent6d636f48d850343771a6601acad89899518209f0 (diff)
downloadlibatomic_ops-da81cba30247749a6a29a296335b89049df54716.tar.gz
Rename run_parallel.inc to run_parallel.h;
rename test_atomic.template to test_atomic_include.template. * tests/Makefile.am(EXTRA_DIST): Adjust for run_parallel.h and test_atomic_include.template files. * tests/run_parallel.inc: Rename to tests/run_parallel.h. * test_atomic.template: Rename to test_atomic_include.template. * test_atomic.c, test_malloc.c: Adjust included file name.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am4
-rw-r--r--tests/run_parallel.h (renamed from tests/run_parallel.inc)0
-rw-r--r--tests/test_atomic.c2
-rw-r--r--tests/test_atomic_include.template (renamed from tests/test_atomic.template)0
-rw-r--r--tests/test_malloc.c2
5 files changed, 4 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index e5afb35..35dab38 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,4 @@
-EXTRA_DIST=test_atomic.template list_atomic.template run_parallel.inc \
+EXTRA_DIST=test_atomic_include.template list_atomic.template run_parallel.h \
test_atomic_include.h list_atomic.c
# We distribute test_atomic_include.h and list_atomic.c, since it is hard
# to regenerate them on Windows without sed.
@@ -28,7 +28,7 @@ test_malloc_SOURCES=test_malloc.c
test_malloc_LDADD=$(THREADDLLIBS) ../src/libatomic_ops_gpl.a \
../src/libatomic_ops.a
-test_atomic_include.h: test_atomic.template
+test_atomic_include.h: test_atomic_include.template
sed -e s/XX// $? > $@
sed -e s/XX/_release/ $? >> $@
sed -e s/XX/_acquire/ $? >> $@
diff --git a/tests/run_parallel.inc b/tests/run_parallel.h
index a200f33..a200f33 100644
--- a/tests/run_parallel.inc
+++ b/tests/run_parallel.h
diff --git a/tests/test_atomic.c b/tests/test_atomic.c
index 458f599..6945649 100644
--- a/tests/test_atomic.c
+++ b/tests/test_atomic.c
@@ -17,7 +17,7 @@
#endif
-#include "run_parallel.inc"
+#include "run_parallel.h"
#include "test_atomic_include.h"
diff --git a/tests/test_atomic.template b/tests/test_atomic_include.template
index 7d594fa..7d594fa 100644
--- a/tests/test_atomic.template
+++ b/tests/test_atomic_include.template
diff --git a/tests/test_malloc.c b/tests/test_malloc.c
index 6861006..0cc07ef 100644
--- a/tests/test_malloc.c
+++ b/tests/test_malloc.c
@@ -16,7 +16,7 @@
# include "config.h"
#endif
-#include "run_parallel.inc"
+#include "run_parallel.h"
#include <stdlib.h>
#include <stdio.h>