File: test.cmd

package info (click to toggle)
libgnatcoll 1.7gpl2015-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 17,280 kB
  • ctags: 1,124
  • sloc: ada: 134,072; python: 4,017; cpp: 1,397; ansic: 1,234; makefile: 368; sh: 152; xml: 31; sql: 6
file content (22 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TESTSETUP cp src/a.c1 src/a.c
--TEST -Pdefault.gpr -XMODE=release
REFRESH
DECL f:src/a.c:3:3
#  1> f:a.c:2:7

--  Change the sources, but do not change the source directory
shell sleep 3
shell cp src/a.c2 src/a.c
shell gprbuild -ws -q -XMODE=release -cargs:C -fsyntax-only -fdump-xref
SCENARIO MODE release
REFRESH
DECL g:src/a.c:4:3
#  1> g:a.c:2:9

--  Change the sources and change the object directory
shell cp src/a.c3 src/a.c
shell gprbuild -ws -q -XMODE=debug -cargs:C -fsyntax-only -fdump-xref
SCENARIO MODE debug
REFRESH
DECL h:src/a.c:5:3
#  1> h:a.c:2:13