File: gxml-test.vapi

package info (click to toggle)
gxml 0.20.4%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,364 kB
  • sloc: xml: 131,277; ansic: 786; javascript: 328; python: 88; makefile: 35; sh: 11
file content (15 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Solution provided by nemequ in #vala so gxml_test can find its data
 * files even when we use "make distcheck" which doesn't copy them
 * into its _build/test/ dir, where it runs gxml_test from.  Please
 * recommend a way to copy those files if you know one so we can avoid
 * this.
 *
 * This defines a string for Vala that we can then at compile time use
 * "-X -DTEST_DIR=$(top_srcdir)/test so gxml_test can find its
 * tests, similar to how libgdata does it in C. */
namespace GXmlTestConfig {
	[CCode (cname = "TEST_DIR")]
	public const string TEST_DIR;
	[CCode (cname = "TEST_SAVE_DIR")]
	public const string TEST_SAVE_DIR;
}