mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-15 07:41:09 -08:00
Change include tree
Copied from Perforce Change: 18974 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
18c37f1022
commit
7675bc2d79
3 changed files with 5 additions and 11 deletions
|
|
@ -10,12 +10,10 @@
|
|||
"PLATFORM"
|
||||
);
|
||||
|
||||
require "dirs";
|
||||
require "require";
|
||||
|
||||
print "Compiling test libraries from $testlib_dir.\n";
|
||||
|
||||
require "compile";
|
||||
|
||||
open(MANIFEST, "$testlib_dir/manifest");
|
||||
|
||||
while ($tlfile = <MANIFEST>) {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
&options();
|
||||
|
||||
require "headread";
|
||||
require "require";
|
||||
|
||||
opendir(DIR, ".");
|
||||
|
||||
|
|
|
|||
|
|
@ -10,22 +10,18 @@
|
|||
"PLATFORM"
|
||||
);
|
||||
|
||||
require "dirs";
|
||||
require "headread";
|
||||
require "compile";
|
||||
require "require";
|
||||
|
||||
foreach $testfile (@qa_args) {
|
||||
|
||||
print "Test file: $testfile.\n";
|
||||
|
||||
&readheader($testfile, 0);
|
||||
unless ($test_header{"language"} eq "c") {
|
||||
die "Don't know how to run test in this language.\n";
|
||||
}
|
||||
|
||||
$linkfiles = " ".$test_header{"link"};
|
||||
$linkfiles =~ s/ +/ $obj_dir\//g;
|
||||
$linkfiles = $test_header{"link"};
|
||||
$objfile = "$obj_dir/tmp_test";
|
||||
|
||||
unless (&compile_and_link($testfile, $objfile, $linkfiles)) {
|
||||
die "Compilation failed on test ".$testfile.".\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue