all-tests target
This commit is contained in:
parent
22cf474bb8
commit
f67ac1ccd4
@ -12,6 +12,7 @@ AM_CFLAGS = \
|
|||||||
-I$(top_srcdir)/$(MOO_SRC_PREFIX) \
|
-I$(top_srcdir)/$(MOO_SRC_PREFIX) \
|
||||||
-I$(top_builddir)/$(MOO_SRC_PREFIX) \
|
-I$(top_builddir)/$(MOO_SRC_PREFIX) \
|
||||||
-I$(top_srcdir)/$(MOO_SRC_PREFIX)/mooutils \
|
-I$(top_srcdir)/$(MOO_SRC_PREFIX)/mooutils \
|
||||||
|
-I$(top_builddir)/$(MOO_SRC_PREFIX)/mooutils\
|
||||||
$(MOO_CFLAGS) \
|
$(MOO_CFLAGS) \
|
||||||
$(PYTHON_INCLUDES) \
|
$(PYTHON_INCLUDES) \
|
||||||
$(PYGTK_CFLAGS) \
|
$(PYGTK_CFLAGS) \
|
||||||
@ -98,6 +99,7 @@ mooedit_datadir = ${MOO_DATA_DIR}
|
|||||||
mooedit_data_DATA = ui.xml.example actions.cfg.example
|
mooedit_data_DATA = ui.xml.example actions.cfg.example
|
||||||
ui.xml.example: tests/medit-ui.xml
|
ui.xml.example: tests/medit-ui.xml
|
||||||
cp $(srcdir)/tests/medit-ui.xml ui.xml.example
|
cp $(srcdir)/tests/medit-ui.xml ui.xml.example
|
||||||
|
CLEANFILES += ui.xml.example
|
||||||
EXTRA_DIST += actions.cfg.example
|
EXTRA_DIST += actions.cfg.example
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
EXTRA_PROGRAMS += testhtml testtext medit mterm markup termbuffer testfileview testpaned testpanedfileview miniglade langparser testobject testfold ms
|
EXTRA_PROGRAMS += testhtml testtext medit mterm markup termbuffer testfileview testpaned testpanedfileview miniglade langparser testobject testfold ms
|
||||||
bin_PROGRAMS =
|
bin_PROGRAMS =
|
||||||
|
|
||||||
|
all-tests: $(EXTRA_PROGRAMS)
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
tests/pyapp.py.in \
|
tests/pyapp.py.in \
|
||||||
|
@ -37,7 +37,7 @@ int main (int argc, char *argv[])
|
|||||||
file = argv[1];
|
file = argv[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
my_xml = moo_glade_xml_new (file, NULL, NULL);
|
my_xml = moo_glade_xml_new (file, NULL);
|
||||||
|
|
||||||
if (!my_xml)
|
if (!my_xml)
|
||||||
{
|
{
|
||||||
@ -45,7 +45,6 @@ int main (int argc, char *argv[])
|
|||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
moo_glade_xml_unref (my_xml);
|
|
||||||
g_print ("*** Success ***\n");
|
g_print ("*** Success ***\n");
|
||||||
|
|
||||||
if (!check)
|
if (!check)
|
||||||
@ -59,5 +58,6 @@ int main (int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_object_unref (my_xml);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ G_GNUC_UNUSED static gboolean print_random_hard (MooTerm *term)
|
|||||||
moo_term_feed (term, s, -1);
|
moo_term_feed (term, s, -1);
|
||||||
g_free (s);
|
g_free (s);
|
||||||
|
|
||||||
moo_term_force_update (term);
|
gdk_window_process_updates (GTK_WIDGET(term)->window, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_print ("buffer: %dx%d\nterm: %dx%d\n",
|
g_print ("buffer: %dx%d\nterm: %dx%d\n",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "mooutils/moofileview/moofileview.h"
|
#include "moofileview/moofileview.h"
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "mooutils/moobigpaned.h"
|
#include "mooutils/moobigpaned.h"
|
||||||
#include "mooutils/moofileview/moofileview.h"
|
#include "moofileview/moofileview.h"
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "mooutils/moopaned.h"
|
#include "mooutils/moopaned.h"
|
||||||
#include "mooutils/moofileview/moofileview.h"
|
#include "moofileview/moofileview.h"
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user