ocarina/tests/Sconscript
Anna Schumaker 14879b03fd idle: Update design and unit test
I didn't have any changes to make to the IdleQueue itself, but I did
need to update the unit test and reword a few things in the design.

Signed-off-by: Anna Schuamker <schumaker.anna@gmail.com>
2014-04-06 19:57:06 -04:00

24 lines
475 B
Python

#!/usr/bin/python
import sys
Import("env")
if sys.argv.count("tests") > 0:
env.Append( CCFLAGS = [ "-DCONFIG_TEST" ] )
src = SConscript("src/Sconscript")
tests = [ "version", "file", "db_entry", "database", "index", "filter", "idle" ]
#scripts = [ "playlist", "library", "playqueue", "deck", "audio", "gui" ]
prev = None
for test in tests:
t = Command("%s.out" % test, [], "./tests/%s" % test)
if prev:
Depends(t, prev)
Depends(t, src)
AlwaysBuild(t)
prev = t