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 e5afb35..35dab38 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 458f599..6945649 100644 (file)
@@ -17,7 +17,7 @@
 #endif
 
 
-#include "run_parallel.inc"
+#include "run_parallel.h"
 
 #include "test_atomic_include.h"
 
index 6861006..0cc07ef 100644 (file)
@@ -16,7 +16,7 @@
 # include "config.h"
 #endif
 
-#include "run_parallel.inc"
+#include "run_parallel.h"
 
 #include <stdlib.h>
 #include <stdio.h>