mirror of
https://github.com/troglobit/libite.git
synced 2026-10-11 17:02:26 +07:00
Add autotest for progress()
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -59,6 +59,7 @@ test: clean
|
||||
$(MAKE) -f fsendfile.mk
|
||||
$(MAKE) -f makepath.mk
|
||||
$(MAKE) -f pidfilefn.mk
|
||||
$(MAKE) -f progress.mk
|
||||
$(MAKE) -f rsync.mk
|
||||
$(MAKE) -f tempfile.mk
|
||||
$(MAKE) -f tree.mk
|
||||
|
||||
+2
-2
@@ -70,7 +70,7 @@ static void bye(void)
|
||||
showcursor();
|
||||
}
|
||||
|
||||
int main(int argc __attribute__((unused)), char const *argv[] __attribute__((unused)))
|
||||
int main(void)
|
||||
{
|
||||
int i, percent, block = 0, num = 85;
|
||||
|
||||
@@ -94,7 +94,7 @@ int main(int argc __attribute__((unused)), char const *argv[] __attribute__((unu
|
||||
|
||||
/**
|
||||
* Local Variables:
|
||||
* compile-command: "gcc -g -I../../include -o unittest -DUNITTEST progress.c; and ./unittest"
|
||||
* compile-command: "make V=1 -f progress.mk"
|
||||
* version-control: t
|
||||
* indent-tabs-mode: t
|
||||
* c-file-style: "linux"
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
OBJS =
|
||||
TARGET = progress.test clean
|
||||
|
||||
include rules.mk
|
||||
Reference in New Issue
Block a user