} elsif ($arg eq '-w') {
$AlwaysWrite = 1; # update the files even if they havent changed
$FileList = "";
+ } elsif ($arg eq '-check') {
+ my $this = shift @ARGV;
+ my $ok = shift @ARGV;
+ if ($this ne $ok) {
+ print "Skipping as check params are not the same.\n";
+ exit(0);
+ }
} elsif ($arg eq '-maketest') {
$MakeTestScript = 1;
} elsif ($arg eq '-makelist') {
" -maketest : Make test script\n",
" -makelist : Rewrite the file list based on current setup\n",
" -L filelist : Use this file list, (defaults to $0)\n",
- " -C dir : Change to this directory before proceding\n";
+ " -C dir : Change to this directory before proceeding\n",
+ " -check A B : Executes only if A and B are the same\n";
}
}
!ENDIF
# Unicode data files generated by mktables
+FIRSTUNIFILE = ..\lib\unicore\Canonical.pl
UNIDATAFILES = ..\lib\unicore\Canonical.pl ..\lib\unicore\Exact.pl \
..\lib\unicore\Properties ..\lib\unicore\Decomposition.pl \
..\lib\unicore\CombiningClass.pl ..\lib\unicore\Name.pl \
$(UNIDATAFILES) : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables
cd ..\lib\unicore && \
- ..\$(MINIPERL) -I.. mktables
+ ..\$(MINIPERL) -I.. mktables -check $@ $(FIRSTUNIFILE)
minitest : $(MINIPERL) $(GLOBEXE) $(CONFIGPM) utils $(UNIDATAFILES)
$(XCOPY) $(MINIPERL) ..\t\$(NULL)
$(PERLEXE) -I..\lib harness $(TEST_SWITCHES) $(TEST_FILES)
cd ..\win32
+test-reonly : reonly utils
+ $(XCOPY) $(PERLEXE) ..\t\$(NULL)
+ $(XCOPY) $(PERLDLL) ..\t\$(NULL)
+ $(XCOPY) $(GLOBEXE) ..\t\$(NULL)
+ cd ..\t
+ $(PERLEXE) -I..\lib harness $(OPT) -re \bpat\b \breg
+ cd ..\win32
+
test-notty : test-prep
set PERL_SKIP_TTY_TEST=1
cd ..\t