]> granicus.if.org Git - libatomic_ops/commitdiff
Rename run_parallel.inc to run_parallel.h;
authorIvan Maidanski <ivmai@mail.ru>
Tue, 9 Aug 2011 11:35:25 +0000 (15:35 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 9 Aug 2011 11:35:25 +0000 (15:35 +0400)
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.

tests/Makefile.am
tests/run_parallel.h [moved from tests/run_parallel.inc with 100% similarity]
tests/test_atomic.c
tests/test_atomic_include.template [moved from tests/test_atomic.template with 100% similarity]
tests/test_malloc.c

index e5afb35d4b981c1bc098f5b9a9ccc0df4a01fc37..35dab38991358c4dd8a074257c02c9aee7b631b5 100644 (file)
@@ -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/ $? >> $@
similarity index 100%
rename from tests/run_parallel.inc
rename to tests/run_parallel.h
index 458f599f3dce02b940772cc5c3a4c9297d99102c..694564984472d0d6afff1cd1a6be636c93fede08 100644 (file)
@@ -17,7 +17,7 @@
 #endif
 
 
-#include "run_parallel.inc"
+#include "run_parallel.h"
 
 #include "test_atomic_include.h"
 
index 6861006cba01c3eb34374c2009e18032469c463b..0cc07ef48c383f41808b829ed8939c09765e5e5d 100644 (file)
@@ -16,7 +16,7 @@
 # include "config.h"
 #endif
 
-#include "run_parallel.inc"
+#include "run_parallel.h"
 
 #include <stdlib.h>
 #include <stdio.h>