GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Beanstalkd is a fast, distributed, in-memory workqueue service. Its interface is generic, but was designed for use in reducing the latency of page views in high-volume web applications by running most time-consuming tasks asynchronously.
Homepage: http://xph.us/software/beanstalkd/
Clone URL: git://github.com/kr/beanstalkd.git
Click here to lend your support to: beanstalkd and make a donation at www.pledgie.com !
Distribute CUT to make unit tests easier to run.
kr (author)
Wed Apr 16 16:11:15 -0700 2008
commit  75de429c8a9468e82e099cf9c451733784edf424
tree    75955741aa776d5db0dd74716665b13747e27d05
parent  2e9d33230a4699e8cb2005939209bb4a720906e2
...
4
5
6
 
...
4
5
6
7
0
@@ -4,3 +4,4 @@ beanstalkd
0
 gmon.out
0
 tags
0
 tests/cutcheck*
0
+tests/cutgen
...
25
26
27
28
29
 
 
 
 
 
30
31
32
...
39
40
41
42
 
 
43
44
45
...
25
26
27
 
 
28
29
30
31
32
33
34
35
...
42
43
44
 
45
46
47
48
49
0
@@ -25,8 +25,11 @@ check: tests/cutcheck $(objects)
0
 
0
 $(program): $(objects) $(program).o
0
 
0
-tests/cutcheck.c: $(tests)
0
- cutgen -o tests/cutcheck.c $(tests)
0
+check: export CFLAGS := $(CFLAGS) -D__LINUX__
0
+tests/cutgen: tests/cutgen.c
0
+
0
+tests/cutcheck.c: $(tests) tests/cutgen
0
+ ./tests/cutgen -o tests/cutcheck.c $(tests)
0
 
0
 tests/cutcheck: tests/cutcheck.o $(objects) $(tests:.c=.o)
0
 
0
@@ -39,7 +42,8 @@ $(program)-%.tar.gz:
0
   ./pkg.sh $(program) $* $@
0
 
0
 clean:
0
- rm -f $(program) *.o .*.d tests/*.o tests/cutcheck* core gmon.out
0
+ rm -f $(program) *.o .*.d tests/*.o core gmon.out
0
+ rm -f $(program) tests/cutcheck* tests/cutgen
0
   rm -f $(program)-*.tar.gz
0
 
0
 # .DELETE_ON_ERROR:
0
...
6
7
8
9
 
10
11
 
 
...
6
7
8
 
9
10
 
11
12
0
@@ -6,6 +6,7 @@ See doc/protocol.txt for details of the on-the-wire protocol.
0
 
0
 To build beanstalkd, just type "make".
0
 
0
-To run unit tests, you must have CUT installed. Then type "make check".
0
+To run unit tests, type "make check".
0
 
0
-CUT can be found at http://sourceforge.net/projects/cut/.
0
+These unit tests use CUT, which can be found at
0
+http://sourceforge.net/projects/cut/.

Comments

    No one has commented yet.