summaryrefslogtreecommitdiff
path: root/check/check-whitespace
blob: e4388ba3cb4e6fd9d979ac60ff05622def6fbf95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

set -e

. ${srcdir}/common

# expect cflags from whitespace
RESULT='-Dlala=misc -I/usr/white\ space/include -I$(top_builddir) -Iinclude\ dir -Iother\ include\ dir'
run_test --cflags whitespace

# expect libs from whitespace
RESULT="-L/usr/white\\ space/lib -lfoo\\ bar -lbar\\ baz -r:foo"
run_test --libs whitespace