From 0a3190ffb05374961ee3a26fa64936399681d2a2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 25 Oct 2019 13:54:33 +0200 Subject: Make C library created by bdep-new portable Specifically, replace the use of fmemopen() with tmpfile(). --- tests/new.testscript | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests') 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/ -- cgit v1.1