Skip to content

Commit 66ac8cd

Browse files
committed
fix tests for TAO
1 parent 458fa2a commit 66ac8cd

File tree

15 files changed

+36
-21
lines changed

15 files changed

+36
-21
lines changed

.mulle/share/env/environment-plugin.sh

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.mulle/share/env/version

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.mulle/share/sde/version/mulle-sde/cmake

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required( VERSION 3.14)
22

3-
project( mulle-objc-compat VERSION 0.21.0 LANGUAGES C)
3+
project( mulle-objc-compat VERSION 0.21.1 LANGUAGES C)
44

55

66
# should be behind option but...

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and familiarity.
1414

1515
| Release Version | Release Notes
1616
|-------------------------------------------------------|--------------
17-
| ![Mulle kybernetiK tag](https://img.shields.io/github/tag/mulle-objc/mulle-objc-compat.svg?branch=release) [![Build Status](https://github.com/mulle-objc/mulle-objc-compat/workflows/CI/badge.svg?branch=release)](//github.com/mulle-objc/mulle-objc-compat/actions) | [RELEASENOTES](RELEASENOTES.md) |
17+
| ![Mulle kybernetiK tag](https://img.shields.io/github/tag/mulle-objc/mulle-objc-compat.svg) [![Build Status](https://github.com/mulle-objc/mulle-objc-compat/workflows/CI/badge.svg)](//github.com/mulle-objc/mulle-objc-compat/actions) | [RELEASENOTES](RELEASENOTES.md) |
1818

1919

2020

RELEASENOTES.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 0.21.1
2+
3+
Various small improvements
4+
15
## 0.21.0
26

37

cmake/share/InstallRpath.cmake

+9-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/mulle-objc-compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* version: major, minor, patch
77
*/
8-
#define MULLE_OBJC_COMPAT_VERSION ((0UL << 20) | (21 << 8) | 0)
8+
#define MULLE_OBJC_COMPAT_VERSION ((0UL << 20) | (21 << 8) | 1)
99

1010
#include "runtime.h"
1111
#include "method.h"

test/.mulle/share/env/environment-plugin.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ export MULLE_SOURCETREE_SYMLINK='YES'
2222
#
2323
#
2424
#
25-
export MULLE_SDE_INSTALLED_VERSION="3.2.0"
25+
export MULLE_SDE_INSTALLED_VERSION="3.2.2"
2626

2727

test/.mulle/share/env/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.3.0
1+
5.3.1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.4.0
1+
6.4.2
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.4.0
1+
6.4.2
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.4.0
1+
6.4.2
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.4.0
1+
6.4.2

test/run-test

+11-5
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ EOF
6060

6161
main()
6262
{
63-
local flags
6463
local configuration
64+
local releaseflags="-O3 -g -fno-objc-tao -DNDEBUG -DMULLE_TEST"
65+
local debugflags="-O0 -g -fobjc-tao -DMULLE_TEST"
6566

66-
flags="-O0 -g -DMULLE_TEST"
6767
configuration="Debug"
6868

6969
while [ $# -ne 0 ]
@@ -84,12 +84,10 @@ main()
8484
;;
8585

8686
--release)
87-
flags="-O3 -g -DNDEBUG -DMULLE_TEST"
8887
configuration="Release"
8988
;;
9089

9190
--debug)
92-
flags="-O0 -g -DMULLE_TEST"
9391
configuration="Debug"
9492
;;
9593

@@ -118,7 +116,6 @@ main()
118116
local dependencydir
119117
local rootdir
120118

121-
122119
rootdir="${PWD}"
123120
dependencydir="`mulle-sde dependency-dir`" || exit 1
124121

@@ -151,6 +148,15 @@ main()
151148

152149
shell_enable_nullglob
153150

151+
local flags
152+
153+
flags="${debugflags}"
154+
case "${configuration}" in
155+
*[Rr]elease*)
156+
flags="${releaseflags}"
157+
;;
158+
esac
159+
154160
#
155161
# MEMO not sure why we do it so strangely here with the 6-9
156162
#

0 commit comments

Comments
 (0)