I'm taking a break from gui code to clean up the build system and update my unit tests. This patch updates how code is built, and reworks my "print" test to test version number instead. Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
14 lines
287 B
Bash
Executable File
14 lines
287 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) Anna Schumaker.
|
|
|
|
VERSION=$(cat ../config | grep ^CONFIG_VERSION | awk -F= '{print $2}' | tr -d ' ')
|
|
DEBUG=$(cat ../config | grep ^CONFIG_DEBUG | awk -F= '{print $2}' | tr -d ' ')
|
|
|
|
function utility
|
|
{
|
|
echo src/$1
|
|
}
|
|
|
|
echo -n "Running test '$1' ... "
|
|
. tests/$1
|