Browse Source

dont bother exporting variables and use := where appropriate

Mike Frysinger 19 years ago
parent
commit
4697c772ca
7 changed files with 17 additions and 15 deletions
  1. 4 3
      test/args/Makefile
  2. 3 2
      test/assert/Makefile
  3. 1 1
      test/ctype/Makefile
  4. 1 1
      test/mmap/Makefile
  5. 1 1
      test/setjmp/Makefile
  6. 3 3
      test/silly/Makefile
  7. 4 4
      test/unistd/Makefile

+ 4 - 3
test/args/Makefile

@@ -5,8 +5,9 @@ TESTS := arg_test
 
 include ../Test.mak
 
-export WRAPPER_arg_test = \
+OPTS_arg_test = a b c d e f g h
+WRAPPER_arg_test = \
 	env -i \
 	ENVVAR=123 \
-	SOMETHING=sldajfasdf
-export OPTS_arg_test = a b c d e f g h
+	SOMETHING=sldajfasdf \
+	BLAHBLAH=" hi hi "

+ 3 - 2
test/assert/Makefile

@@ -1,8 +1,9 @@
 # uClibc assert tests
 # Licensed under the GNU Library General Public License, see COPYING.LIB
 
-TESTS = assert
+TESTS := assert
 
 include ../Test.mak
 
-export RET_assert = 134
+RET_assert     := 134
+WRAPPER_assert := trap ":" ABRT ;

+ 1 - 1
test/ctype/Makefile

@@ -1,6 +1,6 @@
 # uClibc ctype tests
 # Licensed under the GNU Library General Public License, see COPYING.LIB
 
-TESTS = ctype
+TESTS := ctype
 
 include ../Test.mak

+ 1 - 1
test/mmap/Makefile

@@ -1,6 +1,6 @@
 # uClibc mmap tests
 # Licensed under the GNU Library General Public License, see COPYING.LIB
 
-TESTS = mmap mmap64
+TESTS := mmap mmap64
 
 include ../Test.mak

+ 1 - 1
test/setjmp/Makefile

@@ -1,6 +1,6 @@
 # uClibc setjmp tests
 # Licensed under the GNU Library General Public License, see COPYING.LIB
 
-TESTS = setjmp_test
+TESTS := setjmp_test
 
 include ../Test.mak

+ 3 - 3
test/silly/Makefile

@@ -1,9 +1,9 @@
 # uClibc silly tests
 # Licensed under the GNU Library General Public License, see COPYING.LIB
 
-TESTS = hello tiny
+TESTS := hello tiny
 
 include ../Test.mak
 
-export RET_hello = 42
-export RET_tiny = 42
+RET_hello := 42
+RET_tiny  := 42

+ 4 - 4
test/unistd/Makefile

@@ -1,10 +1,10 @@
 # uClibc unistd tests
 # Licensed under the GNU Library General Public License, see COPYING.LIB
 
-TESTS = clone errno fork getcwd getopt getopt_long preadwrite tstgetopt vfork
+TESTS := clone errno fork getcwd getopt getopt_long preadwrite tstgetopt vfork
 
 include ../Test.mak
 
-export OPTS_getopt = -abcXXX -9
-export OPTS_getopt_long = --add XXX --delete YYY --verbose
-export OPTS_tstgetopt = -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour
+OPTS_getopt      := -abcXXX -9
+OPTS_getopt_long := --add XXX --delete YYY --verbose
+OPTS_tstgetopt   := -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour