mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
Move dmd files into compiler/
This commit is contained in:
parent
20bd0cacbd
commit
6374bb87b7
4579 changed files with 4 additions and 4 deletions
17
compiler/test/dshell/test_shared.d
Normal file
17
compiler/test/dshell/test_shared.d
Normal file
|
@ -0,0 +1,17 @@
|
|||
import dshell;
|
||||
|
||||
int main()
|
||||
{
|
||||
if (OS != "linux")
|
||||
{
|
||||
writefln("Skipping shared library test on %s.", OS);
|
||||
return DISABLED;
|
||||
}
|
||||
|
||||
run("$DMD -m$MODEL -of$OUTPUT_BASE/a$EXE -defaultlib=libphobos2.so $EXTRA_FILES/test_shared.d");
|
||||
run("$OUTPUT_BASE/a$EXE", stdout, stderr, [
|
||||
"LD_LIBRARY_PATH" : "../../phobos/generated/"~OS~'/'~BUILD~'/'~MODEL
|
||||
]);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue