mirror of
https://github.com/davatorium/rofi.git
synced 2025-07-31 21:59:25 -04:00
Try out small fake X server test.
This commit is contained in:
parent
79e729bd37
commit
12258eb02b
2 changed files with 10 additions and 3 deletions
|
@ -5,9 +5,10 @@ compiler:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update -qq
|
- 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
|
- 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:
|
after_success:
|
||||||
- coveralls --exclude lib --gcov-options '\-lp'
|
- coveralls --exclude lib --gcov-options '\-lp'
|
||||||
|
|
|
@ -16,7 +16,7 @@ static int test = 0;
|
||||||
|
|
||||||
const char *file = "text";
|
const char *file = "text";
|
||||||
|
|
||||||
int main ( int argc, char **argv )
|
void history_test()
|
||||||
{
|
{
|
||||||
unlink(file);
|
unlink(file);
|
||||||
|
|
||||||
|
@ -96,5 +96,11 @@ int main ( int argc, char **argv )
|
||||||
printf("Test %i passed\n", ++test);
|
printf("Test %i passed\n", ++test);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int main ( int argc, char **argv )
|
||||||
|
{
|
||||||
|
history_test();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue