Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux to Master #1526

Merged
merged 35 commits into from
Sep 2, 2016
Merged

Linux to Master #1526

merged 35 commits into from
Sep 2, 2016

Conversation

obastemur
Copy link
Collaborator

No description provided.

antonmes and others added 30 commits August 5, 2016 23:21
…treat symbolic links

Merge pull request chakra-core#1393 from antonmes:linux

Synchronize changes made by @adityamandaleeka in dotnet/coreclr#4922

Fixes build on macOS Sierra:
`ChakraCore/pal/src/cruntime/filecrt.cpp:355:12: error: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Werror,-Wdeprecated-declarations]`
issue: slow running, JSON/simple.withLog test was randomly failing on xplat.

We provide string length internally. However customized PAL interface expects null ending.

Apart from the fix, also removed unused PAL source files.
…ut bus error [pal] and format precision

Merge pull request chakra-core#1423 from obastemur:unused

issue: [slow running] JSON/simple.withLog test was randomly failing on xplat. [also crashing]

CC provides string length internally. However customized PAL interface expects null ending.

Apart from the fix, also removed unused PAL source files.
…tput for xplat

Merge pull request chakra-core#1414 from obastemur:fix_biops_test
Cmake fails to update references
… build caching

Merge pull request chakra-core#1431 from obastemur:fix_cmake_cache

Cmake fails to update references
Merge pull request chakra-core#1443 from obastemur:linux_merge_master_3
…w just warnings)

Merge pull request chakra-core#1442 from Fishrock123:fix-mac-compile-errors

Fixes chakra-core#1436
Also added a simple sort test to trigger hybrid_sort implementation
…ble/disable some tests

Merge pull request chakra-core#1455 from obastemur:ch_platform

See comments on disabled test case

Attempt to fix chakra-core#1397
…ed library) support [all tests pass]

Merge pull request chakra-core#1473 from obastemur:osx_dylib
We have been keep breaking the native sample project.
Fixing the break and adding a native test to make sure we do not break it again
…verlapping memory cases

Merge pull request chakra-core#1450 from obastemur:fix_memmove

Also added a simple sort test to trigger hybrid_sort implementation
…d break and add native testing

Merge pull request chakra-core#1479 from obastemur:fix_lnx_break

We've been keep breaking the native sample project.
Fixing the break and adding a native test to make sure we do not break it again

new WScript.Platform members : 'LINK_TYPE' and 'BINARY_PATH'
Some of the embedders (i.e. node-chakracore targets an earlier version of SDK)
Merge pull request chakra-core#1493 from obastemur:osx_108

Some of the embedders (i.e. node-chakracore targets an earlier version of SDK)
Some of the tests (slow running) randomly fails on default timeout.
Although timeout can be set from command line for different set of runs,
it is convenient to have a bigger timeout for slow running tests

Affects `--include-slow` runs on unix/posix
…slow running tests 180 secs on *nix

Merge pull request chakra-core#1452 from obastemur:running_slow

Some of the tests (slow running) randomly fails on default timeout.
Although timeout can be set from command line for different set of runs,
it is convenient to have a bigger timeout for slow running tests

Affects `--include-slow` runs on unix/posix
Saw this while fixing Regex fail on Fedora
Standard requires a call to va_end due to its undefined behavior.
Also submitted a PR to coreclr to fix the same issue there.
This PR fixes the Regex/BoiHardFail.js on Fedora.
Now we have all the tests are passing on Fedora
…or leak on PAL_IsDebuggerPresent

Merge pull request chakra-core#1508 from obastemur:fix_fd_leak

Also submitted a PR to coreclr to fix the same issue there. See dotnet/coreclr#6958
This PR fixes the Regex/BoiHardFail.js on Fedora. See chakra-core#1334
Now we have all the tests are passing on Fedora
…np false asserts

Merge pull request chakra-core#1506 from obastemur:false_assert

Saw this while fixing Regex fail on Fedora
… no-op

Merge pull request chakra-core#1507 from obastemur:va_leaks

Standard requires a call to va_end due to its undefined behavior.
@obastemur obastemur mentioned this pull request Sep 1, 2016
@obastemur obastemur force-pushed the mmerge_10 branch 7 times, most recently from 1c5a01b to bd7c461 Compare September 1, 2016 19:45
@obastemur
Copy link
Collaborator Author

@agarwal-sandeep please review last commit

From this PR forward we won't be using linux branch.

/cc @liminzhu we may want to update Wiki and other places?
/cc @kunalspathak master is ready

/cc @digitalinfinity @jianchun

@@ -2,19 +2,19 @@
{
"callStack": [
{
"line": 27,
"line": 29,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you changed the lines in file you will also need to update full repro baseline at [FullRepro]\unittest\DebuggerCommon\step_in_from_interpreted_function_attach.js.dbg.baseline. And since you need to update full baseline you may not do delete WScript.Platform and have Platform show in dbg baseline

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WScript.Platform is specific to ch

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another solution is enabling WScript.Platform only when a specific ch flag is used though. This way we won't have similar issues going forward

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If WScript.Platform is not needed for majority of the cases then exposing it under a switch is ideal otherwise update the core baseline without modifying the test.

Copy link

@jianchun jianchun Sep 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish we could arbitrarily ignore certain objects from all our baselines: WScript, Debug, ... (may we attach and examine a special property, e.g. hide object data completely if it has property __hide_baseline__?)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do but only at top level under locals. Maybe we can revisit and fix ignoring at all levels.

@liminzhu
Copy link
Collaborator

liminzhu commented Sep 1, 2016

@obastemur gotcha. After it's merged I'll point docs to master branch instead of Linux.

@obastemur
Copy link
Collaborator Author

@agarwal-sandeep Thanks for the review

@chakrabot chakrabot merged commit b511c5a into chakra-core:master Sep 2, 2016
chakrabot pushed a commit that referenced this pull request Sep 2, 2016
Merge pull request #1526 from obastemur:mmerge_10
@obastemur obastemur deleted the mmerge_10 branch September 2, 2016 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants