Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
G
geany
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ç
Batuhan Osman TASKAYA
geany
Commits
8b68c5a2
Kaydet (Commit)
8b68c5a2
authored
Kas 12, 2018
tarafından
Colomban Wendling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add a test for the processing order when generating a tags file
üst
939dab08
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
3 deletions
+40
-3
Makefile.am
tests/ctags/Makefile.am
+10
-0
process_order.c.tags
tests/ctags/process_order.c.tags
+7
-0
process_order_1.h
tests/ctags/process_order_1.h
+4
-0
process_order_2.h
tests/ctags/process_order_2.h
+4
-0
runner.sh
tests/ctags/runner.sh
+15
-3
No files found.
tests/ctags/Makefile.am
Dosyayı görüntüle @
8b68c5a2
...
@@ -319,3 +319,13 @@ TAGS_LOG_COMPILER = $(srcdir)/runner.sh
...
@@ -319,3 +319,13 @@ TAGS_LOG_COMPILER = $(srcdir)/runner.sh
TESTS
=
$(test_results)
TESTS
=
$(test_results)
EXTRA_DIST
=
$(test_sources)
$(test_results)
EXTRA_DIST
=
$(test_sources)
$(test_results)
# check processing order of files on the command line
check_processing_order_sources
=
\
process_order.c.tags process_order_1.h process_order_2.h
EXTRA_DIST
+=
$(check_processing_order_sources)
.PHONY
:
check-processing-order
check-processing-order
:
$(check_processing_order_sources)
srcdir
=
"
$(srcdir)
"
top_builddir
=
"
$(top_builddir)
"
\
$(srcdir)
/runner.sh
--result
$
(
check_processing_order_sources:%
=
$(srcdir)
/%
)
check-local
:
check-processing-order
tests/ctags/process_order.c.tags
0 → 100644
Dosyayı görüntüle @
8b68c5a2
# format=tagmanager
I1_E14anon_enum_00
I1_E24anon_enum_00
I2_E14anon_enum_10
I2_E24anon_enum_10
anon_enum_020
anon_enum_120
tests/ctags/process_order_1.h
0 → 100644
Dosyayı görüntüle @
8b68c5a2
enum
{
I1_E1
,
I1_E2
,
};
tests/ctags/process_order_2.h
0 → 100644
Dosyayı görüntüle @
8b68c5a2
enum
{
I2_E1
,
I2_E2
,
};
tests/ctags/runner.sh
Dosyayı görüntüle @
8b68c5a2
...
@@ -17,9 +17,21 @@ mkdir -p "$CONFDIR/filedefs/" || exit 99
...
@@ -17,9 +17,21 @@ mkdir -p "$CONFDIR/filedefs/" || exit 99
cp
"
${
srcdir
:-
.
}
"
/../../data/filetype_extensions.conf
"
$CONFDIR
"
||
exit
99
cp
"
${
srcdir
:-
.
}
"
/../../data/filetype_extensions.conf
"
$CONFDIR
"
||
exit
99
cp
"
${
srcdir
:-
.
}
"
/../../data/filedefs/filetypes.
*
"
$CONFDIR
/filedefs/"
||
exit
99
cp
"
${
srcdir
:-
.
}
"
/../../data/filedefs/filetypes.
*
"
$CONFDIR
/filedefs/"
||
exit
99
result
=
"
$1
"
if
[
"
$1
"
=
"--result"
]
;
then
source
=
"
${
result
%.*
}
"
# --result $result $source...
[
$#
-gt
2
]
||
exit
99
shift
result
=
"
$1
"
shift
source
=
"
$1
"
else
# result is $1 and source is inferred from result
result
=
"
$1
"
source
=
"
${
result
%.*
}
"
fi
shift
tagfile
=
"
$TMPDIR
/test.
${
source
##*.
}
.tags"
tagfile
=
"
$TMPDIR
/test.
${
source
##*.
}
.tags"
"
$GEANY
"
-c
"
$CONFDIR
"
-P
-g
"
$tagfile
"
"
$source
"
||
exit
1
"
$GEANY
"
-c
"
$CONFDIR
"
-P
-g
"
$tagfile
"
"
$source
"
"
$@
"
||
exit
1
diff
-u
"
$result
"
"
$tagfile
"
||
exit
2
diff
-u
"
$result
"
"
$tagfile
"
||
exit
2
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