aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-25 13:54:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-25 13:54:33 +0200
commit0a3190ffb05374961ee3a26fa64936399681d2a2 (patch)
tree42f2f4661a238989a896bfb17fa098883fbe6550 /tests
parentb7f2331713003e479388d9decc4621e3ee77f716 (diff)
Make C library created by bdep-new portable
Specifically, replace the use of fmemopen() with tmpfile().
Diffstat (limited to 'tests')
-rw-r--r--tests/new.testscript8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/new.testscript b/tests/new.testscript
index 8d28597..dcb93ea 100644
--- a/tests/new.testscript
+++ b/tests/new.testscript
@@ -6,10 +6,6 @@
posix = ($cxx.target.class != 'windows')
-# Our C tests use fmemopen() which is not always available.
-#
-c_tests = ($c.target.class != 'windows' && $c.target.class != 'macos')
-
# Disable nesting checks in the created projects.
#
test.arguments += --no-checks
@@ -206,7 +202,6 @@ status += -d prj
: lib-c
:
- if $c_tests
{
$* -t lib -l c libprj-foo 2>>/"EOE" &libprj-foo/***;
created new library project libprj-foo in $~/libprj-foo/
@@ -219,7 +214,6 @@ status += -d prj
: lib-c-unit-tests
:
- if $c_tests
{
$* -t lib,unit-tests -l c libfoo 2>>/"EOE" &libfoo/***;
created new library project libfoo in $~/libfoo/
@@ -587,7 +581,6 @@ status += -d prj
: type
:
- if $c_tests
{
: exe
:
@@ -671,7 +664,6 @@ status += -d prj
: c
:
- if $c_tests
{
$* -l c libprj 2>>/"EOE" &libprj/***;
created new library project libprj in $~/libprj/