Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sequencer-2-2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
epics-modules
sequencer-2-2
Commits
9ff4d369
Commit
9ff4d369
authored
14 years ago
by
ben.franksen
Browse files
Options
Downloads
Patches
Plain Diff
test: merged in tooLong.st from 2-0-13 branch
parent
1fbb59c0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/validate/Makefile
+5
-2
5 additions, 2 deletions
test/validate/Makefile
test/validate/tooLong.st
+27
-0
27 additions, 0 deletions
test/validate/tooLong.st
with
32 additions
and
2 deletions
test/validate/Makefile
+
5
−
2
View file @
9ff4d369
...
...
@@ -10,13 +10,16 @@ SNC = $(INSTALL_HOST_BIN)/snc
SNCFLAGS_DEFAULT
+=
+m
-i
SNCFLAGS_vxWorks
+=
-nil-
#compiler tests, should fail with errors
#TESTPROD += scope
#this one may fail or not, depending on arch/system
#TESTPROD += tooLong
# Sequence programs and/or object files to create
TESTPROD
+=
declarations
TESTPROD
+=
local
TESTPROD
+=
pvPutAsync
TESTPROD
+=
pvSync
#compiler test, should fail with errors
#TESTPROD += scope
TESTPROD
+=
sncDelay
TESTPROD
+=
sncEntry
TESTPROD
+=
sncEntryOpte
...
...
This diff is collapsed.
Click to expand it.
test/validate/tooLong.st
0 → 100644
+
27
−
0
View file @
9ff4d369
/*
*
Test
proper
rejection
of
variables
whose
type
is
too
long
*
to
allow
faithfull
representation
in
CA,
i
.
e
.
64
bit
types
.
*
On
linux-
x86_64
this
should
give
error
messages
for
the
l
and
ul
*
variables
.
On
systems
where
sizeof
(
int
)
==
8
(
64
bit
Windows?
)
*
even
i
and
ui
should
be
rejected
.
*/
program
tooLong
int
i
;
assign
i
to
""
;
unsigned
int
ui
;
assign
ui
to
""
;
long
l
;
assign
l
to
""
;
unsigned
long
ul
;
assign
ul
to
""
;
ss
tooLong
{
state
xy
{
when
()
{
}
state
xy
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment