summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug15
diff options
context:
space:
mode:
authorTristan Gingold2015-08-29 08:01:46 +0200
committerTristan Gingold2015-08-29 08:01:46 +0200
commitb461845ffeb94e902d84c058238fcfcd4074f1a6 (patch)
tree5a2bcc7733b32a649cfe8661f872f50051179657 /testsuite/gna/bug15
parentb75d703676ab830ea3e5731e1965d1d89879a456 (diff)
downloadghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.tar.gz
ghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.tar.bz2
ghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.zip
Rename gnat/bug directories for non-gna bugs to avoid confusion.
Diffstat (limited to 'testsuite/gna/bug15')
-rw-r--r--testsuite/gna/bug15/phys.vhdl24
-rw-r--r--testsuite/gna/bug15/phys2.vhdl14
-rwxr-xr-xtestsuite/gna/bug15/testsuite.sh12
3 files changed, 0 insertions, 50 deletions
diff --git a/testsuite/gna/bug15/phys.vhdl b/testsuite/gna/bug15/phys.vhdl
deleted file mode 100644
index 5af3359..0000000
--- a/testsuite/gna/bug15/phys.vhdl
+++ /dev/null
@@ -1,24 +0,0 @@
-package physical is
- type FREQ is range 0 to INTEGER'high units
- Hz;
- kHz = 1000 Hz;
- MHz = 1000 kHz;
- GHz = 1000 MHz;
--- THz = 1000 GHz;
- end units;
-end package;
-
-entity tb is
-end;
-
-use work.physical.all;
-
-architecture test of tb is
- constant CLOCK_FREQ : FREQ := 100.0 MHz;
- procedure p (a : freq := 1.0 Mhz) is
- begin
- end p;
-begin
- p (clock_freq);
- -- empty
-end architecture;
diff --git a/testsuite/gna/bug15/phys2.vhdl b/testsuite/gna/bug15/phys2.vhdl
deleted file mode 100644
index 3c0957f..0000000
--- a/testsuite/gna/bug15/phys2.vhdl
+++ /dev/null
@@ -1,14 +0,0 @@
-entity tb2 is
-end;
-
-use work.physical.all;
-
-architecture test of tb2 is
- constant CLOCK_FREQ : FREQ := MHz;
- procedure p (a : freq) is
- begin
- end p;
-begin
- p (clock_freq);
- -- empty
-end architecture;
diff --git a/testsuite/gna/bug15/testsuite.sh b/testsuite/gna/bug15/testsuite.sh
deleted file mode 100755
index 59c4a42..0000000
--- a/testsuite/gna/bug15/testsuite.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /bin/sh
-
-. ../../testenv.sh
-
-analyze phys.vhdl
-elab_simulate tb
-
-analyze phys2.vhdl
-elab_simulate tb2
-clean
-
-echo "Test successful"