m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/tests/modules.at,v


From: Eric Blake
Subject: Changes to m4/tests/modules.at,v
Date: Mon, 15 Jan 2007 14:04:29 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      07/01/15 14:04:27

Index: tests/modules.at
===================================================================
RCS file: /sources/m4/m4/tests/modules.at,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- tests/modules.at    3 Oct 2006 12:57:18 -0000       1.23
+++ tests/modules.at    15 Jan 2007 14:04:27 -0000      1.24
@@ -1,5 +1,5 @@
 # Hand crafted tests for GNU M4.                               -*- Autotest -*-
-# Copyright (C) 2001, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2007 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -67,6 +67,32 @@
 AT_CLEANUP([frozen.m4f])
 
 
+## ------------------ ##
+## module test macros ##
+## ------------------ ##
+
+AT_SETUP([module test macros])
+AT_CHECK_DYNAMIC_MODULE
+AT_CHECK_GMP
+
+AT_DATA([in], [[load(`mpeval')
+-__load__-__mpeval__-
+unload(`mpeval')
+-__load__-__mpeval__-
+unload(`load')
+-__load__-__mpeval__-
+]])
+
+AT_CHECK_M4([-m load in], [0], [[
+---
+
+--__mpeval__-
+
+-__load__-__mpeval__-
+]])
+
+AT_CLEANUP
+
 
 ## ---------------------------- ##
 ## Exercising the test module.  ##




reply via email to

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