summaryrefslogtreecommitdiff
path: root/test/LINK
diff options
context:
space:
mode:
authorPawel Tomulik <ptomulik@meil.pw.edu.pl>2015-09-20 02:24:11 +0200
committerPawel Tomulik <ptomulik@meil.pw.edu.pl>2015-09-20 02:24:11 +0200
commit1c21c259d11910930c795e3a78ed842b7ae20bfe (patch)
treeea497274eac796008c26ee7f1db144195f63f40d /test/LINK
parentad3b0e179ca2a6a96eb9212c5a65efc88d0a4f14 (diff)
downloadscons-1c21c259d11910930c795e3a78ed842b7ae20bfe.tar.gz
support for versioned libraries for sunlink
Diffstat (limited to 'test/LINK')
-rw-r--r--test/LINK/VersionedLib-VariantDir.py8
-rw-r--r--test/LINK/VersionedLib-j2.py8
-rw-r--r--test/LINK/VersionedLib-subdir.py8
-rw-r--r--test/LINK/VersionedLib.py14
4 files changed, 38 insertions, 0 deletions
diff --git a/test/LINK/VersionedLib-VariantDir.py b/test/LINK/VersionedLib-VariantDir.py
index a3ea6603..7406a33e 100644
--- a/test/LINK/VersionedLib-VariantDir.py
+++ b/test/LINK/VersionedLib-VariantDir.py
@@ -126,6 +126,14 @@ elif platform == 'win32':
'foo.lib',
]
obj = 'foo.obj'
+elif platform == 'sunos':
+ # All (?) the files we expect will get created in the current directory
+ files = [
+ 'libfoo.so',
+ 'libfoo.so.0',
+ 'libfoo.so.0.1.2',
+ ]
+ obj = 'so_foo.os'
else:
# All (?) the files we expect will get created in the current directory
files= [
diff --git a/test/LINK/VersionedLib-j2.py b/test/LINK/VersionedLib-j2.py
index 076a4dd7..6f37e547 100644
--- a/test/LINK/VersionedLib-j2.py
+++ b/test/LINK/VersionedLib-j2.py
@@ -113,6 +113,14 @@ elif platform == 'win32':
'foo.lib',
'foo.obj',
]
+elif platform == 'sunos':
+ # All (?) the files we expect will get created in the current directory
+ files = [
+ 'libfoo.so',
+ 'libfoo.so.0',
+ 'libfoo.so.0.1.2',
+ 'so_foo.os',
+ ]
else:
# All (?) the files we expect will get created in the current directory
files= [
diff --git a/test/LINK/VersionedLib-subdir.py b/test/LINK/VersionedLib-subdir.py
index 6facd41c..15369efd 100644
--- a/test/LINK/VersionedLib-subdir.py
+++ b/test/LINK/VersionedLib-subdir.py
@@ -120,6 +120,14 @@ elif platform == 'win32':
'foo.lib',
]
obj = 'foo.obj'
+elif platform == 'sunos':
+ # All (?) the files we expect will get created in the current directory
+ files = [
+ 'libfoo.so',
+ 'libfoo.so.0',
+ 'libfoo.so.0.1.2',
+ ]
+ obj = 'so_foo.os'
else:
# All (?) the files we expect will get created in the current directory
files= [
diff --git a/test/LINK/VersionedLib.py b/test/LINK/VersionedLib.py
index c68dd552..a75e4a53 100644
--- a/test/LINK/VersionedLib.py
+++ b/test/LINK/VersionedLib.py
@@ -130,6 +130,20 @@ elif platform == 'win32':
'test.dll',
'test.lib',
]
+elif platform == 'sunos':
+ # All (?) the files we expect will get created in the current directory
+ files = [
+ 'libtest.so',
+ 'libtest.so.2',
+ 'libtest.so.2.5.4',
+ 'so_test.os',
+ ]
+ # All (?) the files we expect will get created in the 'installtest' directory
+ instfiles = [
+ 'libtest.so',
+ 'libtest.so.2',
+ 'libtest.so.2.5.4',
+ ]
else:
# All (?) the files we expect will get created in the current directory
files= [