Commit 04722ad0 authored by Cyril SIX's avatar Cyril SIX
Browse files

MPPA - changed UNIT_TEST names

parent c740492e
prng-test-x86: prng.c prng-test-x86: prng.c
gcc -D__UNIT_TEST__ -O2 -std=c99 $< -o $@ gcc -D__UNIT_TEST_PRNG__ -O2 -std=c99 $< -o $@
prng-test-k1c: prng.c prng-test-k1c: prng.c
k1-gcc -D__UNIT_TEST__ -O2 -std=c99 $< -o $@ k1-gcc -D__UNIT_TEST_PRNG__ -O2 -std=c99 $< -o $@
.PHONY: .PHONY:
test: test-x86 test-k1c test: test-x86 test-k1c
......
...@@ -16,7 +16,7 @@ uint64_t randlong(void){ ...@@ -16,7 +16,7 @@ uint64_t randlong(void){
return (current = MULTIPLIER * current + INCREMENT); return (current = MULTIPLIER * current + INCREMENT);
} }
#ifdef __UNIT_TEST__ #ifdef __UNIT_TEST_PRNG__
char bytewise_sum(uint64_t to_check){ char bytewise_sum(uint64_t to_check){
char sum = 0; char sum = 0;
...@@ -39,4 +39,4 @@ int main(void){ ...@@ -39,4 +39,4 @@ int main(void){
return !((unsigned char)bytewise_sum(last) == 251); return !((unsigned char)bytewise_sum(last) == 251);
} }
#endif // __UNIT_TEST__ #endif // __UNIT_TEST_PRNG__
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment