emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 82f29e0 3/9: * tests/dbus-codegen-tests.el: Fix up compila


From: Stefan Monnier
Subject: [elpa] master 82f29e0 3/9: * tests/dbus-codegen-tests.el: Fix up compilation
Date: Fri, 5 Aug 2016 01:37:58 +0000 (UTC)

branch: master
commit 82f29e03f90db52c7874b48476dcfaa51956dc6d
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * tests/dbus-codegen-tests.el: Fix up compilation
    
    (dbus-codegen-tests-introspection-data): Define during compilation.
---
 packages/dbus-codegen/tests/dbus-codegen-tests.el |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/packages/dbus-codegen/tests/dbus-codegen-tests.el 
b/packages/dbus-codegen/tests/dbus-codegen-tests.el
index 2303976..6184c46 100644
--- a/packages/dbus-codegen/tests/dbus-codegen-tests.el
+++ b/packages/dbus-codegen/tests/dbus-codegen-tests.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2015 Free Software Foundation, Inc.
+;; Copyright (C) 2015-2016 Free Software Foundation, Inc.
 
 ;; This file is part of GNU Emacs.
 
@@ -58,7 +58,8 @@
                  '(:array (:dict-entry :string :int32))
                  '(("a" . 1) ("b" . 2) ("c" . 3))))))
 
-(defconst dbus-codegen-tests-introspection-data "\
+(eval-when-compile
+  (defconst dbus-codegen-tests-introspection-data "\
 <node>
   <interface name='org.gtk.GDBus.PeerTestInterface'>
     <method name='HelloPeer'>
@@ -79,7 +80,7 @@
                   value='false'/>
     </property>
   </interface>
-</node>")
+</node>"))
 
 (ert-deftest dbus-codegen-define-proxy ()
   (dbus-codegen-define-proxy test-proxy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]