1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

Try out small fake X server test.

This commit is contained in:
QC 2014-08-29 15:17:57 +02:00
parent 79e729bd37
commit 12258eb02b
2 changed files with 10 additions and 3 deletions

View file

@ -5,9 +5,10 @@ compiler:
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libxinerama-dev autoconf automake make libxft-dev libx11-dev libpango1.0-dev
- sudo apt-get install -y libxinerama-dev autoconf automake make libxft-dev libx11-dev libpango1.0-dev xvfb xdotool
- sudo pip install cpp-coveralls
script: autoreconf -i && ./configure --enable-gcov && make && make -C test/ test
script:
- autoreconf -i && ./configure --enable-gcov && make && make -C test/ test && ./test/run_errormsg_test.sh
after_success:
- coveralls --exclude lib --gcov-options '\-lp'

View file

@ -16,7 +16,7 @@ static int test = 0;
const char *file = "text";
int main ( int argc, char **argv )
void history_test()
{
unlink(file);
@ -96,5 +96,11 @@ int main ( int argc, char **argv )
printf("Test %i passed\n", ++test);
}
int main ( int argc, char **argv )
{
history_test();
return 0;
}