fix tests, Makefile
This commit is contained in:
parent
81dd6982aa
commit
15ae5809f0
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
printf '%s\n%s\n%s\n%s\n' U+0041 U+0391 U+002E | ./utf 8
|
printf '%s\n%s\n%s\n%s\n' U+0041 U+0391 U+002E | ./utf 8 | od -t x1
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
printf '%s\n%s\n%s\n' U+D55C U+AD6D U+C5B4 | ./utf 8
|
printf '%s\n%s\n%s\n' U+D55C U+AD6D U+C5B4 | ./utf 8 | od -t x1
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
printf '%s\n%s\n%s\n' U+65E5 U+672C U+8A9E | ./utf 8
|
printf '%s\n%s\n%s\n' U+65E5 U+672C U+8A9E | ./utf 8 | od -t x1
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
|
all: utf
|
||||||
|
sh test.sh
|
||||||
|
|
||||||
utf: utf.o libunicode.o
|
utf: utf.o libunicode.o
|
||||||
$(CC) -g -o utf8 libunicode.o utf.o
|
$(CC) -g -o utf libunicode.o utf.o
|
||||||
|
|
||||||
libunicode.o:
|
libunicode.o:
|
||||||
|
|
||||||
@ -9,4 +12,4 @@ utf.o: libunicode.h utf.c
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o utf
|
rm -f *.o utf
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: all clean
|
||||||
|
Loading…
Reference in New Issue
Block a user