Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
c5bb39d6
Kaydet (Commit)
c5bb39d6
authored
Kas 22, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add exectest.pl OLD-/NEW-FAILURE for deliberate idlc/unoidl diffs
Change-Id: I653522d8ebaac3329f368c102d14041c6b49d41d
üst
a2972f7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
+18
-13
CustomTarget_parser_test.mk
idlc/CustomTarget_parser_test.mk
+10
-10
exectest.pl
solenv/bin/exectest.pl
+8
-3
No files found.
idlc/CustomTarget_parser_test.mk
Dosyayı görüntüle @
c5bb39d6
...
...
@@ -28,52 +28,52 @@ $(call gb_CustomTarget_get_target,idlc/parser_test) : \
$(call gb_Helper_abbreviate_dirs,( \
$(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
$(SRCDIR)/idlc/test/parser/attribute.tests \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl
0
\
$(call gb_Executable_get_command,idlc) \
-O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
$(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
$(SRCDIR)/idlc/test/parser/constant.tests \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl
0
\
$(call gb_Executable_get_command,idlc) \
-O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
$(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
$(SRCDIR)/idlc/test/parser/constructor.tests \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl
0
\
$(call gb_Executable_get_command,idlc) \
-O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
$(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
$(SRCDIR)/idlc/test/parser/interfaceinheritance.tests \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl
0
\
$(call gb_Executable_get_command,idlc) \
-O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
$(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
$(SRCDIR)/idlc/test/parser/methodoverload.tests \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl
0
\
$(call gb_Executable_get_command,idlc) \
-O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
$(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
$(SRCDIR)/idlc/test/parser/oldstyle.tests \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl
0
\
$(call gb_Executable_get_command,idlc) \
-O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
$(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
$(SRCDIR)/idlc/test/parser/polystruct.tests \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl
0
\
$(call gb_Executable_get_command,idlc) \
-O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
$(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
$(SRCDIR)/idlc/test/parser/published.tests \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl
0
\
$(call gb_Executable_get_command,idlc) \
-O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
$(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
$(SRCDIR)/idlc/test/parser/struct.tests \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl
0
\
$(call gb_Executable_get_command,idlc) \
-O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
$(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
$(SRCDIR)/idlc/test/parser/typedef.tests \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl \
$(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl
0
\
$(call gb_Executable_get_command,idlc) \
-O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {}) \
> $@.log 2>&1 || (cat $@.log && false))
...
...
solenv/bin/exectest.pl
Dosyayı görüntüle @
c5bb39d6
...
...
@@ -23,18 +23,21 @@ sub encode($)
return
$arg
}
$#ARGV
>=
2
or
die
"Usage: $0 <input file> <temp file> <command> <arguments...>"
;
$#ARGV
>=
3
or
die
"Usage: $0 <input file> <temp file> <
new?> <
command> <arguments...>"
;
open
INPUT
,
'<'
,
$ARGV
[
0
]
or
die
"cannot open $ARGV[0]: $!"
;
shift
@ARGV
;
$temp
=
$ARGV
[
0
];
shift
@ARGV
;
$new
=
$ARGV
[
0
];
shift
@ARGV
;
$failed
=
0
;
$open
=
0
;
while
(
1
)
{
$eof
=
eof
INPUT
;
$in
=
<
INPUT
>
unless
$eof
;
if
(
$eof
||
$in
=~
/^EXPECT (SUCCESS|FAILURE) "([^"]*)"?:\n$/
)
if
(
$eof
||
$in
=~
/^EXPECT (SUCCESS|FAILURE|NEW-FAILURE|OLD-FAILURE) "([^"]*)"?:\n$/
)
{
if
(
$open
)
{
...
...
@@ -86,6 +89,8 @@ while (1) {
}
last
if
$eof
;
$expect
=
$1
;
$expect
=
(
$new
?
'FAILURE'
:
'SUCCESS'
)
if
$expect
eq
'NEW-FAILURE'
;
$expect
=
(
$new
?
'SUCCESS'
:
'FAILURE'
)
if
$expect
eq
'OLD-FAILURE'
;
$title
=
$2
;
open
OUTPUT
,
'>'
,
$temp
or
die
"cannot open $temp: $!"
;
$open
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment