From d9c99a29a0d3384c9c3d2adce430f5cb1134ab6a Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 30 Mar 2016 00:56:30 +0200 Subject: Imported Upstream version 1.1.92 --- tools/Makefile.am | 1 - tools/Makefile.in | 1 - tools/doc-generator.xsl | 691 ----------------------------------- tools/run-test-dbus-session.sh | 2 +- tools/run-test-valgrind.sh | 8 + tools/test-networkmanager-service.py | 2 +- 6 files changed, 10 insertions(+), 695 deletions(-) delete mode 100644 tools/doc-generator.xsl (limited to 'tools') diff --git a/tools/Makefile.am b/tools/Makefile.am index 27d6bcc4..91ada71a 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,7 +1,6 @@ EXTRA_DIST = \ check-exports.sh \ debug-helper.py \ - doc-generator.xsl \ run-test-valgrind.sh \ run-test-dbus-session.sh \ test-networkmanager-service.py \ diff --git a/tools/Makefile.in b/tools/Makefile.in index 585a0503..11c57790 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -397,7 +397,6 @@ with_valgrind = @with_valgrind@ EXTRA_DIST = \ check-exports.sh \ debug-helper.py \ - doc-generator.xsl \ run-test-valgrind.sh \ run-test-dbus-session.sh \ test-networkmanager-service.py \ diff --git a/tools/doc-generator.xsl b/tools/doc-generator.xsl deleted file mode 100644 index bcc88e83..00000000 --- a/tools/doc-generator.xsl +++ /dev/null @@ -1,691 +0,0 @@ - - - - - - - - - - - - - - - - -

Errors:

- -
- - -

Generic types:

- -
- - - -

Simple types:

- -
- - -

Enumerated types:

- -
- - -

Sets of flags:

- -
- - -

Structure types:

- -
- - -

Mapping types:

- -
- - -

Types defined elsewhere:

-
-
-
- - -

- -
- - -
- -
-
- -
- -
-
- - - - - -

- - -

- This interface is - and is likely to cause havoc to your API/ABI if bindings are generated. - Don't include it in libraries that care about compatibility. -

-
- - -

Implementations of this interface must also implement:

-
    - -
  • -
    -
-
- - - - - -

Methods:

- -
- -

Interface has no methods.

-
-
- - - -

Signals:

- -
- -

Interface has no signals.

-
-
- - - -

Properties:

-
- -
-
- -

Interface has no properties.

-
-
- - - -
- - -

- - - -

- -
- - - - - - - - - - - -
=
- - -
-
- -
(Undocumented)
-
-
-
-
-
- - -

- - - -

- -
- - - - - - - - - - - -
=
- - -
-
- -
(Undocumented)
-
-
-
-
-
- - -
- - - - - - - () - -
-
- -
-
- - -
-

- - - - a{ - - - : - - - - } -

-
- -
-
-

Members

-
- -
-
-
-
- - - - - - - - - -
-

- - - - -

-
- -
-
-
- - -
-
- - - - -
-
Defined by:
-
-
- - - - ( - - , - ) - - - - - a{ - - - } - - - -
-

- - - - ( - - - : - - , - - ) -

-
- -
- - -

In bindings that need a separate name, arrays of - should be called - .

-
- -

Arrays of don't generally - make sense.

-
-
-
-

Members

-
- -
-
-
-
- - -
-

- - - ( - - : - , - - ) → - - - - - , - - - nothing - -

-
- -
- - -
-

Parameters

-
- -
-
-
- - -
-

Returns

-
- -
-
-
- - -
-

Possible errors

-
- -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ERR: Unable to find type ' - - ' - - - - () - - - - -
- - - - -
-
- - - - - - (undocumented) - - -
-
- - -
- - - - -
-
- -
-
- - -
- - - - - - -
-
- -
-
- - -
- -
-
- - - - - - - (generic description) - - - (Undocumented.) - - -
-
- - -
-

- - - ( - - : - , - - )

-
- -
- - -
-

Parameters

-
- -
-
-
-
-
- - - - - - - - <xsl:value-of select="tp:title"/> - <xsl:if test="tp:version"> - <xsl:text> version </xsl:text> - <xsl:value-of select="tp:version"/> - </xsl:if> - - - - -

- -

- -

Version

-
- - - - -

Interfaces

-
    - -
  • -
    -
- - - - - -

Index

-

Index of interfaces

-
    - -
  • -
    -
-

Index of types

-
    - - -
  • - - - - - - -
  • -
    -
- - -
- -
- - diff --git a/tools/run-test-dbus-session.sh b/tools/run-test-dbus-session.sh index 0235d65b..c6a94fa6 100755 --- a/tools/run-test-dbus-session.sh +++ b/tools/run-test-dbus-session.sh @@ -1,6 +1,6 @@ #!/bin/sh -if ! which dbus-run-session &>/dev/null; then +if ! which dbus-run-session >/dev/null 2>&1; then eval `dbus-launch --sh-syntax` trap "kill $DBUS_SESSION_BUS_PID" EXIT "$@" diff --git a/tools/run-test-valgrind.sh b/tools/run-test-valgrind.sh index f2eeefcd..d3dd915b 100755 --- a/tools/run-test-valgrind.sh +++ b/tools/run-test-valgrind.sh @@ -139,6 +139,14 @@ if [ $RESULT -ne 0 -a $RESULT -ne 77 ]; then exit $RESULT fi +if [ $HAS_ERRORS -eq 0 ]; then + # valgrind doesn't support setns syscall and spams the logfile. + # hack around it... + if [ "$(basename "$TEST")" = 'test-link-linux' -a -z "$(sed -e '/^--[0-9]\+-- WARNING: unhandled .* syscall: /,/^--[0-9]\+-- it at http.*\.$/d' "$LOGFILE")" ]; then + HAS_ERRORS=1 + fi +fi + if [ $HAS_ERRORS -eq 0 ]; then # shouldn't actually happen... echo "valgrind succeeded, but log is not empty: '`realpath "$LOGFILE"`'" >&2 diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py index 6335fd80..4f81500a 100755 --- a/tools/test-networkmanager-service.py +++ b/tools/test-networkmanager-service.py @@ -1082,7 +1082,7 @@ class Settings(dbus.service.Object): con = Connection(self.bus, path, settings, self.delete_connection, verify_connection) uuid = con.get_uuid() - if uuid in [c.get_uuid() for c in self.connections.itervalues()]: + if uuid in [c.get_uuid() for c in self.connections.values()]: raise InvalidSettingException('cannot add duplicate connection with uuid %s' % (uuid)) self.counter = self.counter + 1 -- cgit 1.3.0-6-gf8a5